Searched refs:getDefinitionLoc (Results 1 – 11 of 11) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/clang/lib/Lex/ |
| H A D | PPDirectives.cpp | 2910 SourceMgr.getFileID(OtherMI->getDefinitionLoc()) in HandleDefineDirective() 2930 Diag(OtherMI->getDefinitionLoc(), diag::pp_macro_not_used); in HandleDefineDirective() 2940 Diag(MI->getDefinitionLoc(), diag::ext_pp_macro_redef) in HandleDefineDirective() 2942 Diag(OtherMI->getDefinitionLoc(), diag::note_previous_definition); in HandleDefineDirective() 2946 WarnUnusedMacroLocs.erase(OtherMI->getDefinitionLoc()); in HandleDefineDirective() 2955 if (getSourceManager().isInMainFile(MI->getDefinitionLoc()) && in HandleDefineDirective() 2956 !Diags->isIgnored(diag::pp_macro_not_used, MI->getDefinitionLoc()) && in HandleDefineDirective() 2958 getSourceManager().getFileID(MI->getDefinitionLoc()) != in HandleDefineDirective() 2961 WarnUnusedMacroLocs.insert(MI->getDefinitionLoc()); in HandleDefineDirective() 3009 Diag(MI->getDefinitionLoc(), diag::pp_macro_not_used); in HandleUndefDirective() [all …]
|
| H A D | PPMacroExpansion.cpp | 255 SourceMgr.isInSystemHeader(NewMI->getDefinitionLoc()); in updateModuleMacroInfo() 553 Diag(MI->getDefinitionLoc(), diag::note_pp_ambiguous_macro_chosen) in HandleMacroExpandedIdentifier() 557 Diag(OtherMI->getDefinitionLoc(), diag::note_pp_ambiguous_macro_other) in HandleMacroExpandedIdentifier() 808 Diag(MI->getDefinitionLoc(), diag::note_macro_here) in ReadMacroCallArgumentList() 922 Diag(MI->getDefinitionLoc(), diag::note_macro_here) in ReadMacroCallArgumentList() 990 Diag(MI->getDefinitionLoc(), diag::note_macro_here) in ReadMacroCallArgumentList() 1004 Diag(MI->getDefinitionLoc(), diag::note_macro_here) in ReadMacroCallArgumentList() 1026 Diag(MI->getDefinitionLoc(), diag::note_macro_here) in ReadMacroCallArgumentList() 1872 WarnUnusedMacroLocs.erase(MI->getDefinitionLoc()); in markMacroAsUsed()
|
| H A D | PreprocessingRecord.cpp | 464 SourceRange R(MI->getDefinitionLoc(), MI->getDefinitionEndLoc()); in MacroDefined()
|
| H A D | Pragma.cpp | 695 WarnUnusedMacroLocs.erase(MI->getDefinitionLoc()); in HandlePragmaPopMacro()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Index/ |
| H A D | FileIndexRecord.cpp | 72 SourceLocation Loc = SM.getFileLoc(MI->getDefinitionLoc()); in print()
|
| H A D | IndexingAction.cpp | 252 MI->getDefinitionLoc(), DataConsumer); in indexPreprocessorModuleMacros()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Lex/ |
| H A D | MacroInfo.h | 123 SourceLocation getDefinitionLoc() const { return Location; } in getDefinitionLoc() function 415 : DefMacroDirective(MI, MI->getDefinitionLoc()) {} in DefMacroDirective()
|
| H A D | Preprocessor.h | 1145 return appendDefMacroDirective(II, MI, MI->getDefinitionLoc()); in appendDefMacroDirective()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | PrintPreprocessedOutput.cpp | 417 MoveToLine(MI->getDefinitionLoc()); in MacroDefined()
|
| H A D | CompilerInstance.cpp | 1401 PP.Diag(CurrentDefinition->getDefinitionLoc(), in checkConfigMacro() 1409 PP.Diag(CurrentDefinition->getDefinitionLoc(), in checkConfigMacro()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 2296 AddSourceLocation(MI->getDefinitionLoc(), Record); in WritePreprocessor()
|