Home
last modified time | relevance | path

Searched refs:getDefinitionLoc (Results 1 – 10 of 10) sorted by relevance

/external/clang/lib/Lex/
DPPDirectives.cpp2481 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 …]
DPPMacroExpansion.cpp205 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()
DPreprocessingRecord.cpp422 SourceRange R(MI->getDefinitionLoc(), MI->getDefinitionEndLoc()); in MacroDefined()
DPragma.cpp600 WarnUnusedMacroLocs.erase(MI->getDefinitionLoc()); in HandlePragmaPopMacro()
/external/clang/include/clang/Lex/
DMacroInfo.h120 SourceLocation getDefinitionLoc() const { return Location; } in getDefinitionLoc() function
427 : DefMacroDirective(MI, MI->getDefinitionLoc()) {} in DefMacroDirective()
DPreprocessor.h887 return appendDefMacroDirective(II, MI, MI->getDefinitionLoc()); in appendDefMacroDirective()
/external/clang/lib/Frontend/
DPrintPreprocessedOutput.cpp369 MoveToLine(MI->getDefinitionLoc()); in MacroDefined()
DCompilerInstance.cpp1187 PP.Diag(CurrentDefinition->getDefinitionLoc(), in checkConfigMacro()
1195 PP.Diag(CurrentDefinition->getDefinitionLoc(), in checkConfigMacro()
/external/clang/lib/Serialization/
DASTWriter.cpp2254 Record.push_back(inferSubmoduleIDFromLocation(MI->getDefinitionLoc())); in WritePreprocessor()
2255 AddSourceLocation(MI->getDefinitionLoc(), Record); in WritePreprocessor()
/external/clang/tools/libclang/
DCIndex.cpp7847 if (MacroDefLoc == Def.getMacroInfo()->getDefinitionLoc()) in getMacroInfo()