Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPPMacroExpansion.cpp252 SourceMgr.isInSystemHeader(NewMI->getDefinitionLoc()); in updateModuleMacroInfo()
561 Diag(MI->getDefinitionLoc(), diag::note_pp_ambiguous_macro_chosen) in HandleMacroExpandedIdentifier()
565 Diag(OtherMI->getDefinitionLoc(), diag::note_pp_ambiguous_macro_other) in HandleMacroExpandedIdentifier()
816 Diag(MI->getDefinitionLoc(), diag::note_macro_here) in ReadMacroCallArgumentList()
930 Diag(MI->getDefinitionLoc(), diag::note_macro_here) in ReadMacroCallArgumentList()
1011 Diag(MI->getDefinitionLoc(), diag::note_macro_here) in ReadMacroCallArgumentList()
1025 Diag(MI->getDefinitionLoc(), diag::note_macro_here) in ReadMacroCallArgumentList()
1047 Diag(MI->getDefinitionLoc(), diag::note_macro_here) in ReadMacroCallArgumentList()
2100 WarnUnusedMacroLocs.erase(MI->getDefinitionLoc()); in markMacroAsUsed()
H A DPPDirectives.cpp164 if (!SourceMgr.isWrittenInBuiltinFile(MI->getDefinitionLoc())) in isLanguageDefinedBuiltin()
3195 Diag(MI->getDefinitionLoc(), diag::warn_pp_macro_def_mismatch_with_pch) in HandleDefineDirective()
3215 SourceMgr.getFileID(OtherMI->getDefinitionLoc()) == in HandleDefineDirective()
3223 Diag(MI->getDefinitionLoc(), diag::warn_pp_objc_macro_redef_ignored); in HandleDefineDirective()
3236 Diag(OtherMI->getDefinitionLoc(), diag::pp_macro_not_used); in HandleDefineDirective()
3246 Diag(MI->getDefinitionLoc(), diag::ext_pp_macro_redef) in HandleDefineDirective()
3248 Diag(OtherMI->getDefinitionLoc(), diag::note_previous_definition); in HandleDefineDirective()
3252 WarnUnusedMacroLocs.erase(OtherMI->getDefinitionLoc()); in HandleDefineDirective()
3261 if (getSourceManager().isInMainFile(MI->getDefinitionLoc()) && in HandleDefineDirective()
3262 !Diags->isIgnored(diag::pp_macro_not_used, MI->getDefinitionLoc()) && in HandleDefineDirective()
[all …]
H A DPreprocessingRecord.cpp459 SourceRange R(MI->getDefinitionLoc(), MI->getDefinitionEndLoc()); in MacroDefined()
H A DPragma.cpp664 WarnUnusedMacroLocs.erase(MI->getDefinitionLoc()); in HandlePragmaPopMacro()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DFileIndexRecord.cpp69 SourceLocation Loc = SM.getFileLoc(MI->getDefinitionLoc()); in print()
H A DIndexingAction.cpp252 MI->getDefinitionLoc(), DataConsumer); in indexPreprocessorModuleMacros()
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DMacroInfo.h125 SourceLocation getDefinitionLoc() const { return Location; } in getDefinitionLoc() function
441 : DefMacroDirective(MI, MI->getDefinitionLoc()) {} in DefMacroDirective()
H A DPreprocessor.h1437 return appendDefMacroDirective(II, MI, MI->getDefinitionLoc()); in appendDefMacroDirective()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DPrintPreprocessedOutput.cpp569 SourceLocation DefLoc = MI->getDefinitionLoc(); in MacroDefined()
H A DCompilerInstance.cpp1600 PP.Diag(CurrentDefinition->getDefinitionLoc(), in checkConfigMacro()
1608 PP.Diag(CurrentDefinition->getDefinitionLoc(), in checkConfigMacro()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp2672 AddSourceLocation(MI->getDefinitionLoc(), Record); in WritePreprocessor()