Home
last modified time | relevance | path

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

/freebsd-14-stable/contrib/llvm-project/clang/lib/Sema/
HDSemaModule.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 …]
HDSema.cpp1271 if (Module *CurrentModule = getCurrentModule(); in ActOnEndOfTranslationUnit()
1295 if (Module *CurrentModule = PP.getCurrentModule()) { in ActOnEndOfTranslationUnit()
HDSemaLookup.cpp1542 if (auto *M = getCurrentModule()) in makeMergedDefinitionVisible()
1616 Module *Current = getCurrentModule(); in isUsableModule()
5640 if (getASTContext().isInSameModule(M, getCurrentModule())) in diagnoseMissingImport()
HDSemaExprCXX.cpp3023 if (getLangOpts().CPlusPlusModules && getCurrentModule()) in DeclareGlobalNewDelete()
3134 if (getLangOpts().CPlusPlusModules && getCurrentModule()) in DeclareGlobalNewDelete()
HDSemaDecl.cpp4738 EmittedDiag |= noteFromModuleOrInclude(getCurrentModule(), NewIncLoc); in notePreviousDefinition()
17558 PrevDecl->getOwningModule() != getCurrentModule()) && in ActOnTag()
18084 if (getCurrentModule() && getCurrentModule()->isInterfaceOrPartition()) in ActOnTagFinishDefinition()
HDSemaDeclCXX.cpp16724 if (getLangOpts().CPlusPlusModules && getCurrentModule() && in ActOnFinishLinkageSpecification()
16725 getCurrentModule()->isImplicitGlobalModule() && in ActOnFinishLinkageSpecification()
16726 getCurrentModule()->Parent) in ActOnFinishLinkageSpecification()
/freebsd-14-stable/contrib/llvm-project/clang/include/clang/Frontend/
HDFrontendAction.h161 Module *getCurrentModule() const;
/freebsd-14-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
HDFrontendActions.cpp290 getCurrentModule()->print(OS); in BeginSourceFileAction()
/freebsd-14-stable/contrib/llvm-project/clang/lib/Lex/
HDPPLexerChange.cpp589 if (Module *Mod = getCurrentModule()) { in HandleEndOfFile()
HDPreprocessor.cpp527 Module *Preprocessor::getCurrentModule() { in getCurrentModule() function in Preprocessor
HDPPDirectives.cpp989 Filename, getCurrentModule()) in LookupFile()
993 BuildSystemModule = getCurrentModule()->IsSystem; in LookupFile()
/freebsd-14-stable/contrib/llvm-project/clang/lib/Frontend/
HDFrontendActions.cpp1080 getCurrentModule()->print(*OS); in ExecuteAction()
HDFrontendAction.cpp157 Module *FrontendAction::getCurrentModule() const { in getCurrentModule() function in FrontendAction
HDCompilerInstance.cpp761 if (auto *currentModule = getPreprocessor().getCurrentModule()) { in createSema()
/freebsd-14-stable/contrib/llvm-project/clang/include/clang/Lex/
HDPreprocessor.h2381 Module *getCurrentModule();
/freebsd-14-stable/contrib/llvm-project/clang/lib/Serialization/
HDASTReader.cpp598 Module *Importer = PP.getCurrentModule(); in ReadDiagnosticOptions()
1057 bool IsModule = Reader.getPreprocessor().getCurrentModule() != nullptr; in markIdentifierFromAST()
/freebsd-14-stable/contrib/llvm-project/clang/include/clang/Sema/
HDSema.h9597 Module *getCurrentModule() const { in getCurrentModule() function