================
@@ -756,6 +756,14 @@ void CompilerInstance::createSema(TranslationUnitKind
TUKind,
TheSema->addExternalSource(ExternalSemaSrc.get());
ExternalSemaSrc->InitializeSema(*TheSema);
}
+
+ // If we're building a module and are supposed to load API notes,
+ // notify the API notes manager.
+ if (auto currentModule = getPreprocessor().getCurrentModule()) {
----------------
egorzhdan wrote:
Alright, done
https://github.com/llvm/llvm-project/pull/73120
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits