mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge remote-tracking branch 'origin/master' into master-next
This commit is contained in:
@@ -749,13 +749,16 @@ static void dumpAndPrintScopeMap(CompilerInvocation &Invocation,
|
||||
|
||||
if (Invocation.getFrontendOptions().DumpScopeMapLocations.empty()) {
|
||||
llvm::errs() << "***Complete scope map***\n";
|
||||
scope.buildFullyExpandedTree();
|
||||
scope.print(llvm::errs());
|
||||
return;
|
||||
}
|
||||
// Probe each of the locations, and dump what we find.
|
||||
for (auto lineColumn :
|
||||
Invocation.getFrontendOptions().DumpScopeMapLocations)
|
||||
Invocation.getFrontendOptions().DumpScopeMapLocations) {
|
||||
scope.buildFullyExpandedTree();
|
||||
scope.dumpOneScopeMapLocation(lineColumn);
|
||||
}
|
||||
}
|
||||
|
||||
static SourceFile *getPrimaryOrMainSourceFile(CompilerInvocation &Invocation,
|
||||
|
||||
Reference in New Issue
Block a user