Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaModule.cpp611 getCurrentModule()->Name == ModuleName) { in ActOnModuleImport()
649 getCurrentModule(), ImportLoc); in ActOnModuleImport()
709 getCurrentModule()->Exports.emplace_back(Mod, false); in ActOnModuleImport()
711 getCurrentModule()->Imports.insert(Mod); in ActOnModuleImport()
817 cast<Decl>(DC)->setLocalOwningModule(getCurrentModule()); in ActOnAnnotModuleEnd()
818 if (!getCurrentModule()) in ActOnAnnotModuleEnd()
1032 BeginLoc, getCurrentModule()); in PushGlobalModuleFragment()
1047 getCurrentModule()->isExplicitGlobalModule() && in PopGlobalModuleFragment()
1057 getCurrentModule()); in PushImplicitGlobalModuleFragment()
1070 getCurrentModule()->isImplicitGlobalModule() && in PopImplicitGlobalModuleFragment()
[all …]
H A DSema.cpp1271 if (Module *CurrentModule = getCurrentModule(); in ActOnEndOfTranslationUnit()
1295 if (Module *CurrentModule = PP.getCurrentModule()) { in ActOnEndOfTranslationUnit()
H A DSemaLookup.cpp1542 if (auto *M = getCurrentModule()) in makeMergedDefinitionVisible()
1616 Module *Current = getCurrentModule(); in isUsableModule()
5640 if (getASTContext().isInSameModule(M, getCurrentModule())) in diagnoseMissingImport()
H A DSemaExprCXX.cpp3023 if (getLangOpts().CPlusPlusModules && getCurrentModule()) in DeclareGlobalNewDelete()
3134 if (getLangOpts().CPlusPlusModules && getCurrentModule()) in DeclareGlobalNewDelete()
H A DSemaDecl.cpp4738 EmittedDiag |= noteFromModuleOrInclude(getCurrentModule(), NewIncLoc); in notePreviousDefinition()
17558 PrevDecl->getOwningModule() != getCurrentModule()) && in ActOnTag()
18084 if (getCurrentModule() && getCurrentModule()->isInterfaceOrPartition()) in ActOnTagFinishDefinition()
H A DSemaDeclCXX.cpp16724 if (getLangOpts().CPlusPlusModules && getCurrentModule() && in ActOnFinishLinkageSpecification()
16725 getCurrentModule()->isImplicitGlobalModule() && in ActOnFinishLinkageSpecification()
16726 getCurrentModule()->Parent) in ActOnFinishLinkageSpecification()
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DFrontendAction.h161 Module *getCurrentModule() const;
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPPLexerChange.cpp589 if (Module *Mod = getCurrentModule()) { in HandleEndOfFile()
H A DPreprocessor.cpp527 Module *Preprocessor::getCurrentModule() { in getCurrentModule() function in Preprocessor
H A DPPDirectives.cpp989 Filename, getCurrentModule()) in LookupFile()
993 BuildSystemModule = getCurrentModule()->IsSystem; in LookupFile()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendAction.cpp157 Module *FrontendAction::getCurrentModule() const { in getCurrentModule() function in FrontendAction
H A DFrontendActions.cpp1080 getCurrentModule()->print(*OS); in ExecuteAction()
H A DCompilerInstance.cpp761 if (auto *currentModule = getPreprocessor().getCurrentModule()) { in createSema()
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessor.h2381 Module *getCurrentModule();
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp598 Module *Importer = PP.getCurrentModule(); in ReadDiagnosticOptions()
1057 bool IsModule = Reader.getPreprocessor().getCurrentModule() != nullptr; in markIdentifierFromAST()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h9597 Module *getCurrentModule() const { in getCurrentModule() function