Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaModule.cpp519 getCurrentModule()->Name == ModuleName) { in ActOnModuleImport()
607 getCurrentModule()->Exports.emplace_back(Mod, false); in ActOnModuleImport()
609 getCurrentModule()->Imports.insert(Mod); in ActOnModuleImport()
724 cast<Decl>(DC)->setLocalOwningModule(getCurrentModule()); in ActOnModuleEnd()
725 if (!getCurrentModule()) in ActOnModuleEnd()
985 BeginLoc, getCurrentModule()); in PushGlobalModuleFragment()
1002 assert(!ModuleScopes.empty() && getCurrentModule()->isGlobalModule() && in PopGlobalModuleFragment()
1010 Module *CurrentModuleUnit = getCurrentModule(); in isModuleUnitOfCurrentTU()
H A DSemaLookup.cpp1517 if (auto *M = getCurrentModule()) in makeMergedDefinitionVisible()
1590 M == getCurrentModule() || in isUsableModule()
H A DSema.cpp1230 if (Module *CurrentModule = PP.getCurrentModule()) { in ActOnEndOfTranslationUnit()
H A DSemaExprCXX.cpp2981 if (getLangOpts().CPlusPlusModules && getCurrentModule()) in DeclareGlobalNewDelete()
3093 if (getLangOpts().CPlusPlusModules && getCurrentModule()) in DeclareGlobalNewDelete()
H A DSemaDeclCXX.cpp16411 if (getLangOpts().CPlusPlusModules && getCurrentModule() && in ActOnFinishLinkageSpecification()
16412 getCurrentModule()->isGlobalModule() && getCurrentModule()->Parent) in ActOnFinishLinkageSpecification()
H A DSemaDecl.cpp4788 EmittedDiag |= noteFromModuleOrInclude(getCurrentModule(), NewIncLoc); in notePreviousDefinition()
17145 PrevDecl->getOwningModule() != getCurrentModule()) && in ActOnTag()
/openbsd/gnu/llvm/clang/lib/Parse/
H A DParseAST.cpp182 Module *CodegenModule = S.getCurrentModule(); in ParseAST()
191 CodegenModule = S.getPreprocessor().getCurrentModule(); in ParseAST()
/openbsd/gnu/llvm/clang/include/clang/Frontend/
H A DFrontendAction.h161 Module *getCurrentModule() const;
/openbsd/gnu/llvm/clang/lib/Frontend/Rewrite/
H A DFrontendActions.cpp289 getCurrentModule()->print(OS); in BeginSourceFileAction()
/openbsd/gnu/llvm/clang/lib/Lex/
H A DPPLexerChange.cpp575 if (Module *Mod = getCurrentModule()) { in HandleEndOfFile()
H A DPreprocessor.cpp520 Module *Preprocessor::getCurrentModule() { in getCurrentModule() function in Preprocessor
H A DPPDirectives.cpp970 BuildSystemModule = getCurrentModule()->IsSystem; in LookupFile()
/openbsd/gnu/llvm/clang/lib/Frontend/
H A DFrontendAction.cpp151 Module *FrontendAction::getCurrentModule() const { in getCurrentModule() function in FrontendAction
H A DFrontendActions.cpp1014 getCurrentModule()->print(*OS); in ExecuteAction()
/openbsd/gnu/llvm/clang/include/clang/Lex/
H A DPreprocessor.h2351 Module *getCurrentModule();
/openbsd/gnu/llvm/clang/include/clang/Sema/
H A DSema.h2301 return getCurrentModule() ? getCurrentModule()->isModulePurview() : false; in isCurrentModulePurview()
2320 Module *getCurrentModule() const { in getCurrentModule() function
/openbsd/gnu/llvm/clang/lib/Serialization/
H A DASTReader.cpp983 bool IsModule = Reader.getPreprocessor().getCurrentModule() != nullptr; in markIdentifierFromAST()