Home
last modified time | relevance | path

Searched refs:DefinitionLoc (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DModuleMap.cpp1402 if (Module->DefinitionLoc.isInvalid()) in getContainingModuleMapFileID()
1405 return SourceMgr.getFileID(Module->DefinitionLoc); in getContainingModuleMapFileID()
1615 auto D = Diags.Report(ActiveModule->DefinitionLoc, in diagnosePrivateModules()
1636 Diags.Report(ActiveModule->DefinitionLoc, in diagnosePrivateModules()
1650 SourceRange(FixItInitBegin, ActiveModule->DefinitionLoc)); in diagnosePrivateModules()
1657 Diags.Report(ActiveModule->DefinitionLoc, in diagnosePrivateModules()
1661 SourceRange(ActiveModule->DefinitionLoc)); in diagnosePrivateModules()
1741 SourceMgr.getDecomposedLoc(Existing->DefinitionLoc).first; in handleModuleDecl()
1744 bool SameModuleDecl = ModuleNameLoc == Existing->DefinitionLoc; in handleModuleDecl()
1758 Diags.Report(Existing->DefinitionLoc, diag::note_mmap_prev_definition); in handleModuleDecl()
[all …]
H A DPPDirectives.cpp2016 Diags.Report(M.DefinitionLoc, diag::err_module_shadowed) << M.Name; in checkModuleIsAvailable()
2017 Diags.Report(ShadowingModule->DefinitionLoc, in checkModuleIsAvailable()
2022 Diags.Report(M.DefinitionLoc, diag::err_module_unavailable) in checkModuleIsAvailable()
2690 Diag(ModuleToImport->DefinitionLoc, in HandleHeaderIncludeOrImport()
2693 Diag(ModuleToImport->getTopLevelModule()->ShadowingModule->DefinitionLoc, in HandleHeaderIncludeOrImport()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DModule.cpp37 SourceLocation DefinitionLoc, Module *Parent, bool IsFramework, in Module() argument
39 : Name(Name), DefinitionLoc(DefinitionLoc), Parent(Parent), in Module()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DModule.h150 SourceLocation DefinitionLoc; variable
556 Module(ModuleConstructorTag, StringRef Name, SourceLocation DefinitionLoc,
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaModule.cpp402 if (M->DefinitionLoc.isValid()) in ActOnModuleDecl()
403 Diag(M->DefinitionLoc, diag::note_prev_module_definition); in ActOnModuleDecl()
405 Diag(M->DefinitionLoc, diag::note_prev_module_definition_from_ast_file) in ActOnModuleDecl()
H A DSemaDecl.cpp4824 if (!Mod->DefinitionLoc.isInvalid()) in notePreviousDefinition()
4825 Diag(Mod->DefinitionLoc, diag::note_defined_here) in notePreviousDefinition()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInstance.cpp2129 getDiagnostics().Report(Sub->DefinitionLoc, in loadModule()
2330 loadModule(TheModule->DefinitionLoc, Path, Module::Hidden, false); in loadGlobalModuleIndex()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp3088 SourceLocationEncoding::RawLocEncoding DefinitionLoc = in WriteSubmodules() local
3089 getRawSourceLocationEncoding(getAdjustedLocation(Mod->DefinitionLoc)); in WriteSubmodules()
3103 DefinitionLoc, in WriteSubmodules()
H A DASTReader.cpp6100 SourceLocation DefinitionLoc = ReadSourceLocation(F, Record[Idx++]); in ReadSubmoduleBlock() local
6160 CurrentModule->DefinitionLoc = DefinitionLoc; in ReadSubmoduleBlock()