Skip to content

Commit 2a200b2

Browse files
committed
SourceKit: silence as -Wmisleading-indent warning (NFCI)
Undent the code that was mis-indended leading to a warning with clang.
1 parent 8a39f82 commit 2a200b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/SourceKit/lib/SwiftLang/SwiftSourceDocInfo.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1208,8 +1208,8 @@ class CursorRangeInfoConsumer : public SwiftASTConsumer {
12081208
ImmutableTextSnapshotRef InputSnap;
12091209
if (auto EditorDoc = Lang.getEditorDocuments()->findByPath(InputFile))
12101210
InputSnap = EditorDoc->getLatestSnapshot();
1211-
if (!InputSnap)
1212-
return false;
1211+
if (!InputSnap)
1212+
return false;
12131213

12141214
auto mappedBackOffset = [&]()->llvm::Optional<unsigned> {
12151215
for (auto &Snap : Snapshots) {

0 commit comments

Comments
 (0)