Searched refs:getDefinitionLoc (Results 1 – 13 of 13) sorted by relevance
/openbsd/gnu/llvm/clang/lib/Lex/ |
H A D | PPMacroExpansion.cpp | 252 SourceMgr.isInSystemHeader(NewMI->getDefinitionLoc()); in updateModuleMacroInfo() 560 Diag(MI->getDefinitionLoc(), diag::note_pp_ambiguous_macro_chosen) in HandleMacroExpandedIdentifier() 564 Diag(OtherMI->getDefinitionLoc(), diag::note_pp_ambiguous_macro_other) in HandleMacroExpandedIdentifier() 815 Diag(MI->getDefinitionLoc(), diag::note_macro_here) in ReadMacroCallArgumentList() 929 Diag(MI->getDefinitionLoc(), diag::note_macro_here) in ReadMacroCallArgumentList() 1001 Diag(MI->getDefinitionLoc(), diag::note_macro_here) in ReadMacroCallArgumentList() 1015 Diag(MI->getDefinitionLoc(), diag::note_macro_here) in ReadMacroCallArgumentList() 1037 Diag(MI->getDefinitionLoc(), diag::note_macro_here) in ReadMacroCallArgumentList() 1961 WarnUnusedMacroLocs.erase(MI->getDefinitionLoc()); in markMacroAsUsed()
|
H A D | PPDirectives.cpp | 3086 SourceMgr.getFileID(OtherMI->getDefinitionLoc()) in HandleDefineDirective() 3107 Diag(OtherMI->getDefinitionLoc(), diag::pp_macro_not_used); in HandleDefineDirective() 3117 Diag(MI->getDefinitionLoc(), diag::ext_pp_macro_redef) in HandleDefineDirective() 3119 Diag(OtherMI->getDefinitionLoc(), diag::note_previous_definition); in HandleDefineDirective() 3123 WarnUnusedMacroLocs.erase(OtherMI->getDefinitionLoc()); in HandleDefineDirective() 3132 if (getSourceManager().isInMainFile(MI->getDefinitionLoc()) && in HandleDefineDirective() 3133 !Diags->isIgnored(diag::pp_macro_not_used, MI->getDefinitionLoc()) && in HandleDefineDirective() 3135 getSourceManager().getFileID(MI->getDefinitionLoc()) != in HandleDefineDirective() 3138 WarnUnusedMacroLocs.insert(MI->getDefinitionLoc()); in HandleDefineDirective() 3189 Diag(MI->getDefinitionLoc(), diag::pp_macro_not_used); in HandleUndefDirective() [all …]
|
H A D | PreprocessingRecord.cpp | 464 SourceRange R(MI->getDefinitionLoc(), MI->getDefinitionEndLoc()); in MacroDefined()
|
H A D | Pragma.cpp | 653 WarnUnusedMacroLocs.erase(MI->getDefinitionLoc()); in HandlePragmaPopMacro()
|
/openbsd/gnu/llvm/clang/lib/Index/ |
H A D | FileIndexRecord.cpp | 69 SourceLocation Loc = SM.getFileLoc(MI->getDefinitionLoc()); in print()
|
H A D | IndexingAction.cpp | 252 MI->getDefinitionLoc(), DataConsumer); in indexPreprocessorModuleMacros()
|
/openbsd/gnu/llvm/clang/include/clang/Lex/ |
H A D | MacroInfo.h | 125 SourceLocation getDefinitionLoc() const { return Location; } in getDefinitionLoc() function 438 : DefMacroDirective(MI, MI->getDefinitionLoc()) {} in DefMacroDirective()
|
H A D | Preprocessor.h | 1418 return appendDefMacroDirective(II, MI, MI->getDefinitionLoc()); in appendDefMacroDirective()
|
/openbsd/gnu/llvm/clang/tools/c-index-test/ |
H A D | core_main.cpp | 184 if (generateUSRForMacro(Name->getName(), MI->getDefinitionLoc(), SM, in handleMacroOccurrence()
|
/openbsd/gnu/llvm/clang/lib/Frontend/ |
H A D | PrintPreprocessedOutput.cpp | 473 SourceLocation DefLoc = MI->getDefinitionLoc(); in MacroDefined()
|
H A D | CompilerInstance.cpp | 1554 PP.Diag(CurrentDefinition->getDefinitionLoc(), in checkConfigMacro() 1562 PP.Diag(CurrentDefinition->getDefinitionLoc(), in checkConfigMacro()
|
/openbsd/gnu/llvm/clang/lib/Serialization/ |
H A D | ASTWriter.cpp | 2475 AddSourceLocation(MI->getDefinitionLoc(), Record); in WritePreprocessor()
|
/openbsd/gnu/llvm/clang/tools/libclang/ |
H A D | CIndex.cpp | 9341 if (MacroDefLoc == Def.getMacroInfo()->getDefinitionLoc()) in getMacroInfo()
|