We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8a39f82 + 2a200b2 commit bbbe67eCopy full SHA for bbbe67e
tools/SourceKit/lib/SwiftLang/SwiftSourceDocInfo.cpp
@@ -1208,8 +1208,8 @@ class CursorRangeInfoConsumer : public SwiftASTConsumer {
1208
ImmutableTextSnapshotRef InputSnap;
1209
if (auto EditorDoc = Lang.getEditorDocuments()->findByPath(InputFile))
1210
InputSnap = EditorDoc->getLatestSnapshot();
1211
- if (!InputSnap)
1212
- return false;
+ if (!InputSnap)
+ return false;
1213
1214
auto mappedBackOffset = [&]()->llvm::Optional<unsigned> {
1215
for (auto &Snap : Snapshots) {
0 commit comments