Home
last modified time | relevance | path

Searched refs:ImportLoc (Results 1 – 25 of 52) sorted by relevance

123

/external/llvm-project/clang/include/clang/Lex/
DModuleLoader.h120 virtual ModuleLoadResult loadModule(SourceLocation ImportLoc,
138 SourceLocation ImportLoc) = 0;
166 ModuleLoadResult loadModule(SourceLocation ImportLoc, ModuleIdPath Path, in loadModule() argument
172 void createModuleFromSource(SourceLocation ImportLoc, StringRef ModuleName, in createModuleFromSource() argument
176 SourceLocation ImportLoc) override {} in makeModuleVisible() argument
DPPCallbacks.h142 virtual void EnteredSubmodule(Module *M, SourceLocation ImportLoc, in EnteredSubmodule() argument
153 virtual void LeftSubmodule(Module *M, SourceLocation ImportLoc, in LeftSubmodule() argument
166 virtual void moduleImport(SourceLocation ImportLoc, in moduleImport() argument
419 void EnteredSubmodule(Module *M, SourceLocation ImportLoc, in EnteredSubmodule() argument
421 First->EnteredSubmodule(M, ImportLoc, ForPragma); in EnteredSubmodule()
422 Second->EnteredSubmodule(M, ImportLoc, ForPragma); in EnteredSubmodule()
425 void LeftSubmodule(Module *M, SourceLocation ImportLoc, in LeftSubmodule() argument
427 First->LeftSubmodule(M, ImportLoc, ForPragma); in LeftSubmodule()
428 Second->LeftSubmodule(M, ImportLoc, ForPragma); in LeftSubmodule()
431 void moduleImport(SourceLocation ImportLoc, ModuleIdPath Path, in moduleImport() argument
[all …]
/external/llvm-project/clang/lib/Lex/
DPPLexerChange.cpp315 Diag(BuildingSubmoduleStack.back().ImportLoc, in HandleEndOfFile()
646 void Preprocessor::EnterSubmodule(Module *M, SourceLocation ImportLoc, in EnterSubmodule() argument
651 BuildingSubmoduleInfo(M, ImportLoc, ForPragma, CurSubmoduleState, in EnterSubmodule()
654 Callbacks->EnteredSubmodule(M, ImportLoc, ForPragma); in EnterSubmodule()
696 BuildingSubmoduleInfo(M, ImportLoc, ForPragma, CurSubmoduleState, in EnterSubmodule()
700 Callbacks->EnteredSubmodule(M, ImportLoc, ForPragma); in EnterSubmodule()
707 makeModuleVisible(M, ImportLoc); in EnterSubmodule()
733 SourceLocation ImportLoc = Info.ImportLoc; in LeaveSubmodule() local
744 Callbacks->LeftSubmodule(LeavingMod, ImportLoc, ForPragma); in LeaveSubmodule()
746 makeModuleVisible(LeavingMod, ImportLoc); in LeaveSubmodule()
[all …]
/external/llvm-project/clang/lib/Frontend/
DCompilerInstance.cpp1065 compileModuleImpl(CompilerInstance &ImportingInstance, SourceLocation ImportLoc, in compileModuleImpl() argument
1155 FullSourceLoc(ImportLoc, ImportingInstance.getSourceManager()));
1163 ImportingInstance.getDiagnostics().Report(ImportLoc,
1181 ImportingInstance.getDiagnostics().Report(ImportLoc,
1213 SourceLocation ImportLoc, Module *Module, in compileModule() argument
1233 ImportingInstance, ImportLoc, Module->getTopLevelModuleName(), in compileModule()
1251 ImportingInstance, ImportLoc, Module->getTopLevelModuleName(), in compileModule()
1282 SourceLocation ImportLoc, in compileModuleAndReadAST() argument
1289 << Module->Name << SourceRange(ImportLoc, ModuleNameLoc); in compileModuleAndReadAST()
1344 ModuleFileName, serialization::MK_ImplicitModule, ImportLoc, in compileModuleAndReadAST()
[all …]
DTestModuleFileExtension.cpp120 Reader.getDiags().Report(Mod.ImportLoc, in createExtensionReader()
/external/clang/lib/Frontend/
DCompilerInstance.cpp924 SourceLocation ImportLoc, in compileModuleImpl() argument
1002 FullSourceLoc(ImportLoc, ImportingInstance.getSourceManager())); in compileModuleImpl()
1037 ImportingInstance.getDiagnostics().Report(ImportLoc, in compileModuleImpl()
1048 ImportingInstance.getDiagnostics().Report(ImportLoc, in compileModuleImpl()
1068 SourceLocation ImportLoc, in compileAndLoadModule() argument
1075 << Module->Name << SourceRange(ImportLoc, ModuleNameLoc); in compileAndLoadModule()
1123 ModuleFileName, serialization::MK_ImplicitModule, ImportLoc, in compileAndLoadModule()
1146 Module *Mod, SourceLocation ImportLoc) { in checkConfigMacro() argument
1174 PP.Diag(ImportLoc, diag::warn_module_config_macro_undef) in checkConfigMacro()
1185 PP.Diag(ImportLoc, diag::warn_module_config_macro_undef) in checkConfigMacro()
[all …]
DTestModuleFileExtension.cpp112 Reader.getDiags().Report(Mod.ImportLoc, in createExtensionReader()
/external/llvm-project/clang/lib/Serialization/
DModuleManager.cpp90 SourceLocation ImportLoc) { in updateModuleImports() argument
96 MF.ImportLoc = ImportLoc; in updateModuleImports()
104 SourceLocation ImportLoc, ModuleFile *ImportedBy, in addModule() argument
164 updateModuleImports(*ModuleEntry, ImportedBy, ImportLoc); in addModule()
174 NewModule->ImportLoc = ImportLoc; in addModule()
241 updateModuleImports(*NewModule, ImportedBy, ImportLoc); in addModule()
/external/llvm-project/clang/lib/Sema/
DSemaModule.cpp23 SourceLocation ImportLoc, DeclContext *DC, in checkModuleImportContext() argument
43 S.Diag(ImportLoc, (FromInclude && S.isModuleVisible(M)) in checkModuleImportContext()
51 S.Diag(ImportLoc, diag::ext_module_import_in_extern_c) in checkModuleImportContext()
309 SourceLocation ImportLoc, in ActOnModuleImport() argument
325 getModuleLoader().loadModule(ImportLoc, Path, Module::AllVisible, in ActOnModuleImport()
330 return ActOnModuleImport(StartLoc, ExportLoc, ImportLoc, Mod, Path); in ActOnModuleImport()
343 SourceLocation ImportLoc, in ActOnModuleImport() argument
345 VisibleModules.setVisible(Mod, ImportLoc); in ActOnModuleImport()
347 checkModuleImportContext(*this, Mod, ImportLoc, CurContext); in ActOnModuleImport()
358 Diag(ImportLoc, getLangOpts().isCompilingModule() in ActOnModuleImport()
/external/clang/include/clang/Lex/
DModuleLoader.h94 virtual ModuleLoadResult loadModule(SourceLocation ImportLoc,
102 SourceLocation ImportLoc) = 0;
DPPCallbacks.h143 virtual void moduleImport(SourceLocation ImportLoc, in moduleImport() argument
366 void moduleImport(SourceLocation ImportLoc, ModuleIdPath Path, in moduleImport() argument
368 First->moduleImport(ImportLoc, Path, Imported); in moduleImport()
369 Second->moduleImport(ImportLoc, Path, Imported); in moduleImport()
DPreprocessor.h510 BuildingSubmoduleInfo(Module *M, SourceLocation ImportLoc, in BuildingSubmoduleInfo()
513 : M(M), ImportLoc(ImportLoc), OuterSubmoduleState(OuterSubmoduleState), in BuildingSubmoduleInfo()
519 SourceLocation ImportLoc; member
1711 void EnterSubmodule(Module *M, SourceLocation ImportLoc);
/external/clang/lib/Lex/
DPPLexerChange.cpp622 void Preprocessor::EnterSubmodule(Module *M, SourceLocation ImportLoc) { in EnterSubmodule() argument
626 M, ImportLoc, CurSubmoduleState, PendingModuleMacroNames.size())); in EnterSubmodule()
668 M, ImportLoc, CurSubmoduleState, PendingModuleMacroNames.size())); in EnterSubmodule()
675 makeModuleVisible(M, ImportLoc); in EnterSubmodule()
695 SourceLocation ImportLoc = Info.ImportLoc; in LeaveSubmodule() local
704 makeModuleVisible(LeavingMod, ImportLoc); in LeaveSubmodule()
793 makeModuleVisible(LeavingMod, ImportLoc); in LeaveSubmodule()
/external/clang/lib/Serialization/
DModuleManager.cpp58 SourceLocation ImportLoc, ModuleFile *ImportedBy, in addModule() argument
96 New->ImportLoc = ImportLoc; in addModule()
181 ModuleEntry->ImportLoc = ImportLoc; in addModule()
/external/llvm-project/clang/lib/Basic/
DSourceLocation.cpp192 std::pair<SourceLocation, StringRef> ImportLoc = in getModuleImportLoc() local
194 return std::make_pair(FullSourceLoc(ImportLoc.first, *SrcMgr), in getModuleImportLoc()
195 ImportLoc.second); in getModuleImportLoc()
/external/clang/unittests/Lex/
DPPConditionalDirectiveRecordTest.cpp54 ModuleLoadResult loadModule(SourceLocation ImportLoc, in loadModule() argument
63 SourceLocation ImportLoc) override { } in makeModuleVisible() argument
DPPCallbacksTest.cpp36 ModuleLoadResult loadModule(SourceLocation ImportLoc, in loadModule() argument
45 SourceLocation ImportLoc) override { } in makeModuleVisible() argument
/external/llvm-project/clang/include/clang/Frontend/
DCompilerInstance.h799 SourceLocation ImportLoc,
804 ModuleLoadResult loadModule(SourceLocation ImportLoc, ModuleIdPath Path,
808 void createModuleFromSource(SourceLocation ImportLoc, StringRef ModuleName,
812 SourceLocation ImportLoc) override;
/external/llvm-project/clang/include/clang/Serialization/
DASTReader.h916 SourceLocation ImportLoc; member
918 ImportedSubmodule(serialization::SubmoduleID ID, SourceLocation ImportLoc) in ImportedSubmodule()
919 : ID(ID), ImportLoc(ImportLoc) {} in ImportedSubmodule()
1280 SourceLocation ImportLoc; member
1284 SourceLocation ImportLoc) in ImportedModule()
1285 : Mod(Mod), ImportedBy(ImportedBy), ImportLoc(ImportLoc) {} in ImportedModule()
1289 SourceLocation ImportLoc, ModuleFile *ImportedBy,
1557 SourceLocation ImportLoc,
1572 SourceLocation ImportLoc);
DASTDeserializationListener.h57 SourceLocation ImportLoc) {} in ModuleImportRead() argument
/external/clang/include/clang/Serialization/
DASTReader.h808 SourceLocation ImportLoc; member
810 ImportedSubmodule(serialization::SubmoduleID ID, SourceLocation ImportLoc) in ImportedSubmodule()
811 : ID(ID), ImportLoc(ImportLoc) {} in ImportedSubmodule()
1116 SourceLocation ImportLoc; member
1120 SourceLocation ImportLoc) in ImportedModule()
1121 : Mod(Mod), ImportedBy(ImportedBy), ImportLoc(ImportLoc) { } in ImportedModule()
1125 SourceLocation ImportLoc, ModuleFile *ImportedBy,
1370 SourceLocation ImportLoc,
1384 SourceLocation ImportLoc);
DModuleManager.h215 SourceLocation ImportLoc,
/external/llvm-project/clang/include/clang/Tooling/DependencyScanning/
DModuleDepCollector.h123 void moduleImport(SourceLocation ImportLoc, ModuleIdPath Path,
/external/clang/unittests/Basic/
DSourceManagerTest.cpp54 ModuleLoadResult loadModule(SourceLocation ImportLoc, in loadModule() argument
63 SourceLocation ImportLoc) override { } in makeModuleVisible() argument
/external/clang/include/clang/Frontend/
DCompilerInstance.h765 ModuleLoadResult loadModule(SourceLocation ImportLoc, ModuleIdPath Path,
770 SourceLocation ImportLoc) override;

123