Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaModule.cpp616 getCurrentModule()->Name == ModuleName) { in ActOnModuleImport()
654 getCurrentModule(), ImportLoc); in ActOnModuleImport()
658 assert((!Mod->isModulePartitionImplementation() || getCurrentModule()) && in ActOnModuleImport()
661 getCurrentModule()->isModuleInterfaceUnit()) in ActOnModuleImport()
728 getCurrentModule()->Exports.emplace_back(Mod, false); in ActOnModuleImport()
730 getCurrentModule()->Imports.insert(Mod); in ActOnModuleImport()
831 cast<Decl>(DC)->setLocalOwningModule(getCurrentModule()); in ActOnAnnotModuleEnd()
832 if (!getCurrentModule()) in ActOnAnnotModuleEnd()
1046 BeginLoc, getCurrentModule()); in PushGlobalModuleFragment()
1061 getCurrentModule()->isExplicitGlobalModule() && in PopGlobalModuleFragment()
[all …]
H A DSemaLookup.cpp1557 if (auto *M = getCurrentModule()) in makeMergedDefinitionVisible()
1646 Module *Current = getCurrentModule(); in isUsableModule()
2029 Module *CurrentM = SemaRef.getCurrentModule(); in isReachableSlow()
5698 if (getASTContext().isInSameModule(M, getCurrentModule())) in diagnoseMissingImport()
H A DSema.cpp1352 if (Module *CurrentModule = getCurrentModule(); in ActOnEndOfTranslationUnit()
1375 if (Module *CurrentModule = PP.getCurrentModule()) { in ActOnEndOfTranslationUnit()
H A DSemaExprCXX.cpp3337 if (getLangOpts().CPlusPlusModules && getCurrentModule()) in DeclareGlobalNewDelete()
3448 if (getLangOpts().CPlusPlusModules && getCurrentModule()) in DeclareGlobalNewDelete()
H A DSemaDecl.cpp4844 EmittedDiag |= noteFromModuleOrInclude(getCurrentModule(), NewIncLoc); in notePreviousDefinition()
18066 PrevDecl->getOwningModule() != getCurrentModule()) && in ActOnTag()
18614 if (getCurrentModule() && getCurrentModule()->isInterfaceOrPartition()) in ActOnTagFinishDefinition()
H A DSemaDeclCXX.cpp17200 if (getLangOpts().CPlusPlusModules && getCurrentModule() && in ActOnFinishLinkageSpecification()
17201 getCurrentModule()->isImplicitGlobalModule() && in ActOnFinishLinkageSpecification()
17202 getCurrentModule()->Parent) in ActOnFinishLinkageSpecification()
H A DSemaCodeComplete.cpp2204 clang::Module *CurrentModule = SemaRef.getCurrentModule(); in AddOrdinaryNameResults()
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DFrontendAction.h162 Module *getCurrentModule() const;
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DFrontendActions.cpp289 getCurrentModule()->print(OS); in BeginSourceFileAction()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPPLexerChange.cpp582 if (Module *Mod = getCurrentModule()) { in HandleEndOfFile()
H A DPreprocessor.cpp525 Module *Preprocessor::getCurrentModule() { in getCurrentModule() function in Preprocessor
H A DPPDirectives.cpp1015 Filename, getCurrentModule()) in LookupFile()
1019 BuildSystemModule = getCurrentModule()->IsSystem; in LookupFile()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendActions.cpp1109 getCurrentModule()->print(*OS); in ExecuteAction()
H A DFrontendAction.cpp291 Module *FrontendAction::getCurrentModule() const { in getCurrentModule() function in FrontendAction
H A DCompilerInstance.cpp758 if (auto *currentModule = getPreprocessor().getCurrentModule()) { in createSema()
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessor.h2456 Module *getCurrentModule();
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp615 Module *Importer = PP.getCurrentModule(); in ReadDiagnosticOptions()
1112 bool IsModule = Reader.getPreprocessor().getCurrentModule() != nullptr; in ReadData()
9579 bool IsModule = getPreprocessor().getCurrentModule() != nullptr; in DecodeIdentifierInfo()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h9794 Module *getCurrentModule() const { in getCurrentModule() function