mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
ASTPrinter: Remove ASTPrinter's dependency on Sema. (#10985)
This commit is contained in:
@@ -664,7 +664,7 @@ static bool passCursorInfoForDecl(const ValueDecl *VD,
|
||||
if (BaseType) {
|
||||
if (auto Target = BaseType->getAnyNominal()) {
|
||||
SynthesizedExtensionAnalyzer Analyzer(Target,
|
||||
PrintOptions::printInterface());
|
||||
PrintOptions::printModuleInterface());
|
||||
InSynthesizedExtension = Analyzer.isInSynthesizedExtension(VD);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user