Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/clang/lib/Lex/
H A DPPMacroExpansion.cpp252 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 DPPDirectives.cpp3086 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 DPreprocessingRecord.cpp464 SourceRange R(MI->getDefinitionLoc(), MI->getDefinitionEndLoc()); in MacroDefined()
H A DPragma.cpp653 WarnUnusedMacroLocs.erase(MI->getDefinitionLoc()); in HandlePragmaPopMacro()
/openbsd/gnu/llvm/clang/lib/Index/
H A DFileIndexRecord.cpp69 SourceLocation Loc = SM.getFileLoc(MI->getDefinitionLoc()); in print()
H A DIndexingAction.cpp252 MI->getDefinitionLoc(), DataConsumer); in indexPreprocessorModuleMacros()
/openbsd/gnu/llvm/clang/include/clang/Lex/
H A DMacroInfo.h125 SourceLocation getDefinitionLoc() const { return Location; } in getDefinitionLoc() function
438 : DefMacroDirective(MI, MI->getDefinitionLoc()) {} in DefMacroDirective()
H A DPreprocessor.h1418 return appendDefMacroDirective(II, MI, MI->getDefinitionLoc()); in appendDefMacroDirective()
/openbsd/gnu/llvm/clang/tools/c-index-test/
H A Dcore_main.cpp184 if (generateUSRForMacro(Name->getName(), MI->getDefinitionLoc(), SM, in handleMacroOccurrence()
/openbsd/gnu/llvm/clang/lib/Frontend/
H A DPrintPreprocessedOutput.cpp473 SourceLocation DefLoc = MI->getDefinitionLoc(); in MacroDefined()
H A DCompilerInstance.cpp1554 PP.Diag(CurrentDefinition->getDefinitionLoc(), in checkConfigMacro()
1562 PP.Diag(CurrentDefinition->getDefinitionLoc(), in checkConfigMacro()
/openbsd/gnu/llvm/clang/lib/Serialization/
H A DASTWriter.cpp2475 AddSourceLocation(MI->getDefinitionLoc(), Record); in WritePreprocessor()
/openbsd/gnu/llvm/clang/tools/libclang/
H A DCIndex.cpp9341 if (MacroDefLoc == Def.getMacroInfo()->getDefinitionLoc()) in getMacroInfo()