Home
last modified time | relevance | path

Searched refs:getCurrentModule (Results 1 – 16 of 16) sorted by relevance

/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaModule.cpp464 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()
H A DSemaLookup.cpp1515 if (auto *M = getCurrentModule()) in makeMergedDefinitionVisible()
1588 M == getCurrentModule() || in isUsableModule()
1924 if (SemaRef.getCurrentModule() && in isReachableSlow()
1925 SemaRef.getCurrentModule()->getTopLevelModule() == in isReachableSlow()
H A DSema.cpp1230 if (Module *CurrentModule = PP.getCurrentModule()) { in ActOnEndOfTranslationUnit()
H A DSemaDeclCXX.cpp16342 if (getLangOpts().CPlusPlusModules && getCurrentModule() && in ActOnFinishLinkageSpecification()
16343 getCurrentModule()->isGlobalModule() && getCurrentModule()->Parent) in ActOnFinishLinkageSpecification()
H A DSemaDecl.cpp4713 EmittedDiag |= noteFromModuleOrInclude(getCurrentModule(), NewIncLoc); in notePreviousDefinition()
16686 PrevDecl->getOwningModule() != getCurrentModule()) && in ActOnTag()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseAST.cpp183 Module *CodegenModule = S.getCurrentModule(); in ParseAST()
192 CodegenModule = S.getPreprocessor().getCurrentModule(); in ParseAST()
/llvm-project-15.0.7/clang/include/clang/Frontend/
H A DFrontendAction.h161 Module *getCurrentModule() const;
/llvm-project-15.0.7/clang/lib/Frontend/Rewrite/
H A DFrontendActions.cpp289 getCurrentModule()->print(OS); in BeginSourceFileAction()
/llvm-project-15.0.7/clang/lib/Lex/
H A DPPLexerChange.cpp574 if (Module *Mod = getCurrentModule()) { in HandleEndOfFile()
H A DPreprocessor.cpp531 Module *Preprocessor::getCurrentModule() { in getCurrentModule() function in Preprocessor
H A DPPDirectives.cpp983 BuildSystemModule = getCurrentModule()->IsSystem; in LookupFile()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DFrontendActions.cpp1066 getCurrentModule()->print(*OS); in ExecuteAction()
H A DFrontendAction.cpp145 Module *FrontendAction::getCurrentModule() const { in getCurrentModule() function in FrontendAction
/llvm-project-15.0.7/clang/include/clang/Lex/
H A DPreprocessor.h2212 Module *getCurrentModule();
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h2264 return getCurrentModule() ? getCurrentModule()->isModulePurview() : false; in isCurrentModulePurview()
2286 Module *getCurrentModule() const { in getCurrentModule() function
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReader.cpp982 bool IsModule = Reader.getPreprocessor().getCurrentModule() != nullptr; in markIdentifierFromAST()