Home
last modified time | relevance | path

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

/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/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/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/Serialization/
DModuleManager.cpp58 SourceLocation ImportLoc, ModuleFile *ImportedBy, in addModule() argument
96 New->ImportLoc = ImportLoc; in addModule()
181 ModuleEntry->ImportLoc = ImportLoc; in addModule()
DASTReader.cpp1359 return std::make_pair(M->ImportLoc, StringRef(M->ModuleName)); in getModuleImportLoc()
1364 if (F->ImportLoc.isValid()) in getImportLocation()
1365 return F->ImportLoc; in getImportLocation()
2349 SourceLocation ImportLoc = in ReadControlBlock() local
2363 auto Result = ReadASTCore(ImportedFile, ImportedKind, ImportLoc, &F, in ReadControlBlock()
3363 SourceLocation ImportLoc) { in makeModuleVisible() argument
3476 SourceLocation ImportLoc, in ReadAST() argument
3479 SetCurImportLocRAII(CurrentImportLoc, ImportLoc); in ReadAST()
3489 switch(ASTReadResult ReadResult = ReadASTCore(FileName, Type, ImportLoc, in ReadAST()
3585 F.DirectImportLoc = ImportLoc; in ReadAST()
[all …]
DASTWriter.cpp1336 AddSourceLocation(M->ImportLoc, Record); in WriteControlBlock()
/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,
DModule.h193 SourceLocation ImportLoc; variable
/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
DLexerTest.cpp30 ModuleLoadResult loadModule(SourceLocation ImportLoc, in loadModule() argument
39 SourceLocation ImportLoc) override { } in makeModuleVisible() argument
/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;
DASTUnit.h906 ModuleLoadResult loadModule(SourceLocation ImportLoc, ModuleIdPath Path, in loadModule() argument
914 SourceLocation ImportLoc) override {} in makeModuleVisible() argument
/external/clang/lib/Parse/
DParser.cpp2002 SourceLocation ImportLoc = ConsumeToken(); in ParseModuleImport() local
2010 Actions.CodeCompleteModuleImport(ImportLoc, Path); in ParseModuleImport()
2038 DeclResult Import = Actions.ActOnModuleImport(AtLoc, ImportLoc, Path); in ParseModuleImport()
/external/clang/lib/Sema/
DSemaDecl.cpp15024 SourceLocation ImportLoc, DeclContext *DC, in checkModuleImportContext() argument
15044 S.Diag(ImportLoc, (FromInclude && S.isModuleVisible(M)) in checkModuleImportContext()
15051 S.Diag(ImportLoc, diag::ext_module_import_in_extern_c) in checkModuleImportContext()
15057 void Sema::diagnoseMisplacedModuleImport(Module *M, SourceLocation ImportLoc) { in diagnoseMisplacedModuleImport() argument
15058 return checkModuleImportContext(*this, M, ImportLoc, CurContext); in diagnoseMisplacedModuleImport()
15062 SourceLocation ImportLoc, in ActOnModuleImport() argument
15065 getModuleLoader().loadModule(ImportLoc, Path, Module::AllVisible, in ActOnModuleImport()
15070 VisibleModules.setVisible(Mod, ImportLoc); in ActOnModuleImport()
15072 checkModuleImportContext(*this, Mod, ImportLoc, CurContext); in ActOnModuleImport()
15078 Diag(ImportLoc, getLangOpts().CompilingModule in ActOnModuleImport()
[all …]
DSemaCodeComplete.cpp3279 void Sema::CodeCompleteModuleImport(SourceLocation ImportLoc, in CodeCompleteModuleImport() argument
3306 Module *Mod = PP.getModuleLoader().loadModule(ImportLoc, Path, in CodeCompleteModuleImport()
/external/clang/include/clang/Sema/
DSema.h1856 DeclResult ActOnModuleImport(SourceLocation AtLoc, SourceLocation ImportLoc,
1870 void diagnoseMisplacedModuleImport(Module *M, SourceLocation ImportLoc);
9218 void CodeCompleteModuleImport(SourceLocation ImportLoc, ModuleIdPath Path);
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp747 SourceLocation ImportLoc = in RewriteInclude() local
749 ReplaceText(ImportLoc, ImportLen, "include"); in RewriteInclude()
DRewriteModernObjC.cpp818 SourceLocation ImportLoc = in RewriteInclude() local
820 ReplaceText(ImportLoc, ImportLen, "include"); in RewriteInclude()