Searched refs:getDefinitionLoc (Results 1 – 12 of 12) sorted by relevance
| /freebsd/contrib/llvm-project/clang/lib/Index/ |
| H A D | FileIndexRecord.cpp | 67 SourceLocation Loc = SM.getFileLoc(MI->getDefinitionLoc()); in print()
|
| H A D | IndexingAction.cpp | 250 MI->getDefinitionLoc(), DataConsumer); in indexPreprocessorModuleMacros()
|
| /freebsd/contrib/llvm-project/clang/lib/Lex/ |
| H A D | PPMacroExpansion.cpp | 250 SourceMgr.isInSystemHeader(NewMI->getDefinitionLoc()); in updateModuleMacroInfo() 506 Diag(MI->getDefinitionLoc(), diag::note_pp_ambiguous_macro_chosen) in HandleMacroExpandedIdentifier() 510 Diag(OtherMI->getDefinitionLoc(), diag::note_pp_ambiguous_macro_other) in HandleMacroExpandedIdentifier() 761 Diag(MI->getDefinitionLoc(), diag::note_macro_here) in ReadMacroCallArgumentList() 875 Diag(MI->getDefinitionLoc(), diag::note_macro_here) in ReadMacroCallArgumentList() 956 Diag(MI->getDefinitionLoc(), diag::note_macro_here) in ReadMacroCallArgumentList() 970 Diag(MI->getDefinitionLoc(), diag::note_macro_here) in ReadMacroCallArgumentList() 992 Diag(MI->getDefinitionLoc(), diag::note_macro_here) in ReadMacroCallArgumentList() 2054 WarnUnusedMacroLocs.erase(MI->getDefinitionLoc()); in markMacroAsUsed()
|
| H A D | PPDirectives.cpp | 162 if (!SourceMgr.isWrittenInBuiltinFile(MI->getDefinitionLoc())) in isLanguageDefinedBuiltin() 3229 Diag(MI->getDefinitionLoc(), diag::warn_pp_macro_def_mismatch_with_pch) in HandleDefineDirective() 3249 SourceMgr.getFileID(OtherMI->getDefinitionLoc()) == in HandleDefineDirective() 3257 Diag(MI->getDefinitionLoc(), diag::warn_pp_objc_macro_redef_ignored); in HandleDefineDirective() 3270 Diag(OtherMI->getDefinitionLoc(), diag::pp_macro_not_used); in HandleDefineDirective() 3280 Diag(MI->getDefinitionLoc(), diag::ext_pp_macro_redef) in HandleDefineDirective() 3282 Diag(OtherMI->getDefinitionLoc(), diag::note_previous_definition); in HandleDefineDirective() 3286 WarnUnusedMacroLocs.erase(OtherMI->getDefinitionLoc()); in HandleDefineDirective() 3295 if (getSourceManager().isInMainFile(MI->getDefinitionLoc()) && in HandleDefineDirective() 3296 !Diags->isIgnored(diag::pp_macro_not_used, MI->getDefinitionLoc()) && in HandleDefineDirective() [all …]
|
| H A D | PreprocessingRecord.cpp | 456 SourceRange R(MI->getDefinitionLoc(), MI->getDefinitionEndLoc()); in MacroDefined()
|
| H A D | Pragma.cpp | 660 WarnUnusedMacroLocs.erase(MI->getDefinitionLoc()); in HandlePragmaPopMacro()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Lex/ |
| H A D | MacroInfo.h | 125 SourceLocation getDefinitionLoc() const { return Location; } in getDefinitionLoc() function 441 : DefMacroDirective(MI, MI->getDefinitionLoc()) {} in DefMacroDirective()
|
| H A D | Preprocessor.h | 1452 return appendDefMacroDirective(II, MI, MI->getDefinitionLoc()); in appendDefMacroDirective()
|
| /freebsd/contrib/llvm-project/clang/lib/ExtractAPI/ |
| H A D | ExtractAPIConsumer.cpp | 305 auto DefLoc = MI->getDefinitionLoc(); in EndOfMainFile()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | PrintPreprocessedOutput.cpp | 568 SourceLocation DefLoc = MI->getDefinitionLoc(); in MacroDefined()
|
| H A D | CompilerInstance.cpp | 1616 PP.Diag(CurrentDefinition->getDefinitionLoc(), in checkConfigMacro() 1624 PP.Diag(CurrentDefinition->getDefinitionLoc(), in checkConfigMacro()
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 2748 AddSourceLocation(MI->getDefinitionLoc(), Record); in WritePreprocessor()
|