Searched refs:getDefinitionLoc (Results 1 – 10 of 10) sorted by relevance
/external/clang/lib/Lex/ |
D | PPDirectives.cpp | 2481 SourceMgr.getFileID(OtherMI->getDefinitionLoc()) in HandleDefineDirective() 2489 Diag(MI->getDefinitionLoc(), diag::warn_pp_objc_macro_redef_ignored); in HandleDefineDirective() 2501 Diag(OtherMI->getDefinitionLoc(), diag::pp_macro_not_used); in HandleDefineDirective() 2511 Diag(MI->getDefinitionLoc(), diag::ext_pp_macro_redef) in HandleDefineDirective() 2513 Diag(OtherMI->getDefinitionLoc(), diag::note_previous_definition); in HandleDefineDirective() 2517 WarnUnusedMacroLocs.erase(OtherMI->getDefinitionLoc()); in HandleDefineDirective() 2526 if (getSourceManager().isInMainFile(MI->getDefinitionLoc()) && in HandleDefineDirective() 2527 !Diags->isIgnored(diag::pp_macro_not_used, MI->getDefinitionLoc())) { in HandleDefineDirective() 2529 WarnUnusedMacroLocs.insert(MI->getDefinitionLoc()); in HandleDefineDirective() 2567 Diag(MI->getDefinitionLoc(), diag::pp_macro_not_used); in HandleUndefDirective() [all …]
|
D | PPMacroExpansion.cpp | 205 SourceMgr.isInSystemHeader(NewMI->getDefinitionLoc()); in updateModuleMacroInfo() 498 Diag(MI->getDefinitionLoc(), diag::note_pp_ambiguous_macro_chosen) in HandleMacroExpandedIdentifier() 502 Diag(OtherMI->getDefinitionLoc(), diag::note_pp_ambiguous_macro_other) in HandleMacroExpandedIdentifier() 753 Diag(MI->getDefinitionLoc(), diag::note_macro_here) in ReadFunctionLikeMacroArgs() 859 Diag(MI->getDefinitionLoc(), diag::note_macro_here) in ReadFunctionLikeMacroArgs() 927 Diag(MI->getDefinitionLoc(), diag::note_macro_here) in ReadFunctionLikeMacroArgs() 941 Diag(MI->getDefinitionLoc(), diag::note_macro_here) in ReadFunctionLikeMacroArgs() 963 Diag(MI->getDefinitionLoc(), diag::note_macro_here) in ReadFunctionLikeMacroArgs() 1856 WarnUnusedMacroLocs.erase(MI->getDefinitionLoc()); in markMacroAsUsed()
|
D | PreprocessingRecord.cpp | 422 SourceRange R(MI->getDefinitionLoc(), MI->getDefinitionEndLoc()); in MacroDefined()
|
D | Pragma.cpp | 600 WarnUnusedMacroLocs.erase(MI->getDefinitionLoc()); in HandlePragmaPopMacro()
|
/external/clang/include/clang/Lex/ |
D | MacroInfo.h | 120 SourceLocation getDefinitionLoc() const { return Location; } in getDefinitionLoc() function 427 : DefMacroDirective(MI, MI->getDefinitionLoc()) {} in DefMacroDirective()
|
D | Preprocessor.h | 887 return appendDefMacroDirective(II, MI, MI->getDefinitionLoc()); in appendDefMacroDirective()
|
/external/clang/lib/Frontend/ |
D | PrintPreprocessedOutput.cpp | 369 MoveToLine(MI->getDefinitionLoc()); in MacroDefined()
|
D | CompilerInstance.cpp | 1187 PP.Diag(CurrentDefinition->getDefinitionLoc(), in checkConfigMacro() 1195 PP.Diag(CurrentDefinition->getDefinitionLoc(), in checkConfigMacro()
|
/external/clang/lib/Serialization/ |
D | ASTWriter.cpp | 2254 Record.push_back(inferSubmoduleIDFromLocation(MI->getDefinitionLoc())); in WritePreprocessor() 2255 AddSourceLocation(MI->getDefinitionLoc(), Record); in WritePreprocessor()
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 7847 if (MacroDefLoc == Def.getMacroInfo()->getDefinitionLoc()) in getMacroInfo()
|