Skip to content

Commit ae57085

Browse files
author
Simon Barinka
committed
[SourceKit] Fix formatting
1 parent b918345 commit ae57085

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

tools/SourceKit/lib/SwiftLang/SwiftIndexing.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ static UIdent getUIDForDependencyKind(bool isClangModule) {
3838

3939
class SKIndexDataConsumer : public IndexDataConsumer {
4040
public:
41-
SKIndexDataConsumer(IndexingConsumer &C, IndexSourceOptions Opts) : impl(C), Opts(Opts) {}
41+
SKIndexDataConsumer(IndexingConsumer &C, IndexSourceOptions Opts)
42+
: impl(C), Opts(Opts) {}
4243

4344
private:
4445
void failed(StringRef error) override { impl.failed(error); }

tools/SourceKit/tools/sourcekitd/lib/Service/Requests.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,8 @@ static SourceKit::Context &getGlobalContext() {
183183
}
184184
185185
static sourcekitd_response_t indexSource(StringRef Filename,
186-
ArrayRef<const char *> Args, IndexSourceOptions Opts);
186+
ArrayRef<const char *> Args,
187+
IndexSourceOptions Opts);
187188
188189
static sourcekitd_response_t reportDocInfo(llvm::MemoryBuffer *InputBuf,
189190
StringRef ModuleName,
@@ -2179,7 +2180,8 @@ class SKIndexingConsumer : public IndexingConsumer {
21792180
} // end anonymous namespace
21802181

21812182
static sourcekitd_response_t indexSource(StringRef Filename,
2182-
ArrayRef<const char *> Args, IndexSourceOptions Opts) {
2183+
ArrayRef<const char *> Args,
2184+
IndexSourceOptions Opts) {
21832185
ResponseBuilder RespBuilder;
21842186
SKIndexingConsumer IdxConsumer(RespBuilder);
21852187
LangSupport &Lang = getGlobalContext().getSwiftLangSupport();

0 commit comments

Comments
 (0)