Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaModule.cpp521 getCurrentModule()->Name == ModuleName) { in ActOnModuleImport()
615 getCurrentModule()->Exports.emplace_back(Mod, false); in ActOnModuleImport()
617 getCurrentModule()->Imports.insert(Mod); in ActOnModuleImport()
723 cast<Decl>(DC)->setLocalOwningModule(getCurrentModule()); in ActOnModuleEnd()
724 if (!getCurrentModule()) in ActOnModuleEnd()
923 BeginLoc, getCurrentModule()); in PushGlobalModuleFragment()
938 getCurrentModule()->isExplicitGlobalModule() && in PopGlobalModuleFragment()
948 getCurrentModule()); in PushImplicitGlobalModuleFragment()
961 getCurrentModule()->isImplicitGlobalModule() && in PopImplicitGlobalModuleFragment()
967 if (!getCurrentModule()) in isCurrentModulePurview()
[all …]
H A DSema.cpp1232 if (Module *CurrentModule = PP.getCurrentModule()) { in ActOnEndOfTranslationUnit()
1255 if (Module *CurrentModule = getCurrentModule(); in ActOnEndOfTranslationUnit()
H A DSemaLookup.cpp1530 if (auto *M = getCurrentModule()) in makeMergedDefinitionVisible()
1603 M == getCurrentModule() || in isUsableModule()
5768 Module *CurrentModule = getCurrentModule(); in diagnoseMissingImport()
H A DSemaExprCXX.cpp3021 if (getLangOpts().CPlusPlusModules && getCurrentModule()) in DeclareGlobalNewDelete()
3132 if (getLangOpts().CPlusPlusModules && getCurrentModule()) in DeclareGlobalNewDelete()
H A DSemaDeclCXX.cpp16862 if (getLangOpts().CPlusPlusModules && getCurrentModule() && in ActOnFinishLinkageSpecification()
16863 getCurrentModule()->isImplicitGlobalModule() && in ActOnFinishLinkageSpecification()
16864 getCurrentModule()->Parent) in ActOnFinishLinkageSpecification()
H A DSemaDecl.cpp4870 EmittedDiag |= noteFromModuleOrInclude(getCurrentModule(), NewIncLoc); in notePreviousDefinition()
17753 PrevDecl->getOwningModule() != getCurrentModule()) && in ActOnTag()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Frontend/
H A DFrontendAction.h161 Module *getCurrentModule() const;
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DFrontendActions.cpp290 getCurrentModule()->print(OS); in BeginSourceFileAction()
/freebsd-14.2/contrib/llvm-project/clang/lib/Lex/
H A DPPLexerChange.cpp590 if (Module *Mod = getCurrentModule()) { in HandleEndOfFile()
H A DPPDirectives.cpp988 Filename, getCurrentModule()) in LookupFile()
992 BuildSystemModule = getCurrentModule()->IsSystem; in LookupFile()
H A DPreprocessor.cpp523 Module *Preprocessor::getCurrentModule() { in getCurrentModule() function in Preprocessor
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendActions.cpp1045 getCurrentModule()->print(*OS); in ExecuteAction()
H A DFrontendAction.cpp157 Module *FrontendAction::getCurrentModule() const { in getCurrentModule() function in FrontendAction
H A DCompilerInstance.cpp762 if (auto *currentModule = getPreprocessor().getCurrentModule()) { in createSema()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessor.h2349 Module *getCurrentModule();
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp593 Module *Importer = PP.getCurrentModule(); in ReadDiagnosticOptions()
1014 bool IsModule = Reader.getPreprocessor().getCurrentModule() != nullptr; in markIdentifierFromAST()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h2375 Module *getCurrentModule() const { in getCurrentModule() function