/external/clang/lib/Frontend/ |
D | CompilerInstance.cpp | 924 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 …]
|
D | TestModuleFileExtension.cpp | 112 Reader.getDiags().Report(Mod.ImportLoc, in createExtensionReader()
|
/external/clang/lib/Lex/ |
D | PPLexerChange.cpp | 622 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/ |
D | ModuleLoader.h | 94 virtual ModuleLoadResult loadModule(SourceLocation ImportLoc, 102 SourceLocation ImportLoc) = 0;
|
D | PPCallbacks.h | 143 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()
|
D | Preprocessor.h | 510 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/ |
D | ModuleManager.cpp | 58 SourceLocation ImportLoc, ModuleFile *ImportedBy, in addModule() argument 96 New->ImportLoc = ImportLoc; in addModule() 181 ModuleEntry->ImportLoc = ImportLoc; in addModule()
|
D | ASTReader.cpp | 1359 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 …]
|
D | ASTWriter.cpp | 1336 AddSourceLocation(M->ImportLoc, Record); in WriteControlBlock()
|
/external/clang/include/clang/Serialization/ |
D | ASTReader.h | 808 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);
|
D | ModuleManager.h | 215 SourceLocation ImportLoc,
|
D | Module.h | 193 SourceLocation ImportLoc; variable
|
/external/clang/unittests/Lex/ |
D | PPConditionalDirectiveRecordTest.cpp | 54 ModuleLoadResult loadModule(SourceLocation ImportLoc, in loadModule() argument 63 SourceLocation ImportLoc) override { } in makeModuleVisible() argument
|
D | PPCallbacksTest.cpp | 36 ModuleLoadResult loadModule(SourceLocation ImportLoc, in loadModule() argument 45 SourceLocation ImportLoc) override { } in makeModuleVisible() argument
|
D | LexerTest.cpp | 30 ModuleLoadResult loadModule(SourceLocation ImportLoc, in loadModule() argument 39 SourceLocation ImportLoc) override { } in makeModuleVisible() argument
|
/external/clang/unittests/Basic/ |
D | SourceManagerTest.cpp | 54 ModuleLoadResult loadModule(SourceLocation ImportLoc, in loadModule() argument 63 SourceLocation ImportLoc) override { } in makeModuleVisible() argument
|
/external/clang/include/clang/Frontend/ |
D | CompilerInstance.h | 765 ModuleLoadResult loadModule(SourceLocation ImportLoc, ModuleIdPath Path, 770 SourceLocation ImportLoc) override;
|
D | ASTUnit.h | 906 ModuleLoadResult loadModule(SourceLocation ImportLoc, ModuleIdPath Path, in loadModule() argument 914 SourceLocation ImportLoc) override {} in makeModuleVisible() argument
|
/external/clang/lib/Parse/ |
D | Parser.cpp | 2002 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/ |
D | SemaDecl.cpp | 15024 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 …]
|
D | SemaCodeComplete.cpp | 3279 void Sema::CodeCompleteModuleImport(SourceLocation ImportLoc, in CodeCompleteModuleImport() argument 3306 Module *Mod = PP.getModuleLoader().loadModule(ImportLoc, Path, in CodeCompleteModuleImport()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 1856 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/ |
D | RewriteObjC.cpp | 747 SourceLocation ImportLoc = in RewriteInclude() local 749 ReplaceText(ImportLoc, ImportLen, "include"); in RewriteInclude()
|
D | RewriteModernObjC.cpp | 818 SourceLocation ImportLoc = in RewriteInclude() local 820 ReplaceText(ImportLoc, ImportLen, "include"); in RewriteInclude()
|