Skip to content

Commit bbbe67e

Browse files
authored
Merge pull request #32576 from compnerd/brace-yourself
SourceKit: silence as `-Wmisleading-indent` warning (NFCI)
2 parents 8a39f82 + 2a200b2 commit bbbe67e

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)