Searched refs:getCurrentModule (Results 1 – 16 of 16) sorted by relevance
464 getCurrentModule()->Name == ModuleName) { in ActOnModuleImport()555 getCurrentModule()->Exports.emplace_back(Mod, false); in ActOnModuleImport()557 getCurrentModule()->Imports.insert(Mod); in ActOnModuleImport()677 cast<Decl>(DC)->setLocalOwningModule(getCurrentModule()); in ActOnModuleEnd()678 if (!getCurrentModule()) in ActOnModuleEnd()927 BeginLoc, getCurrentModule()); in PushGlobalModuleFragment()944 assert(!ModuleScopes.empty() && getCurrentModule()->isGlobalModule() && in PopGlobalModuleFragment()952 Module *CurrentModuleUnit = getCurrentModule(); in isModuleUnitOfCurrentTU()
1515 if (auto *M = getCurrentModule()) in makeMergedDefinitionVisible()1588 M == getCurrentModule() || in isUsableModule()1924 if (SemaRef.getCurrentModule() && in isReachableSlow()1925 SemaRef.getCurrentModule()->getTopLevelModule() == in isReachableSlow()
1230 if (Module *CurrentModule = PP.getCurrentModule()) { in ActOnEndOfTranslationUnit()
16342 if (getLangOpts().CPlusPlusModules && getCurrentModule() && in ActOnFinishLinkageSpecification()16343 getCurrentModule()->isGlobalModule() && getCurrentModule()->Parent) in ActOnFinishLinkageSpecification()
4713 EmittedDiag |= noteFromModuleOrInclude(getCurrentModule(), NewIncLoc); in notePreviousDefinition()16686 PrevDecl->getOwningModule() != getCurrentModule()) && in ActOnTag()
183 Module *CodegenModule = S.getCurrentModule(); in ParseAST()192 CodegenModule = S.getPreprocessor().getCurrentModule(); in ParseAST()
161 Module *getCurrentModule() const;
289 getCurrentModule()->print(OS); in BeginSourceFileAction()
574 if (Module *Mod = getCurrentModule()) { in HandleEndOfFile()
531 Module *Preprocessor::getCurrentModule() { in getCurrentModule() function in Preprocessor
983 BuildSystemModule = getCurrentModule()->IsSystem; in LookupFile()
1066 getCurrentModule()->print(*OS); in ExecuteAction()
145 Module *FrontendAction::getCurrentModule() const { in getCurrentModule() function in FrontendAction
2212 Module *getCurrentModule();
2264 return getCurrentModule() ? getCurrentModule()->isModulePurview() : false; in isCurrentModulePurview()2286 Module *getCurrentModule() const { in getCurrentModule() function
982 bool IsModule = Reader.getPreprocessor().getCurrentModule() != nullptr; in markIdentifierFromAST()