Home
last modified time | relevance | path

Searched refs:MacroAnnotations (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/Lex/
H A DPreprocessor.h898 struct MacroAnnotations { struct
903 static MacroAnnotations makeDeprecation(SourceLocation Loc, in makeDeprecation() argument
905 return MacroAnnotations{MacroAnnotationInfo{Loc, std::move(Msg)}, in makeDeprecation()
909 static MacroAnnotations makeRestrictExpansion(SourceLocation Loc, in makeRestrictExpansion() argument
911 return MacroAnnotations{ in makeRestrictExpansion()
915 static MacroAnnotations makeFinal(SourceLocation Loc) { in makeFinal() argument
916 return MacroAnnotations{llvm::None, llvm::None, Loc}; in makeFinal()
921 llvm::DenseMap<const IdentifierInfo *, MacroAnnotations> AnnotationInfos;
2628 MacroAnnotations::makeDeprecation(AnnotationLoc, std::move(Msg)))); in addMacroDeprecationMsg()
2639 std::make_pair(II, MacroAnnotations::makeRestrictExpansion( in addRestrictExpansionMsg()
[all …]
/llvm-project-15.0.7/clang/lib/Lex/
H A DPreprocessor.cpp1446 const MacroAnnotations &A = in emitMacroDeprecationWarning()
1461 const MacroAnnotations &A = in emitRestrictExpansionWarning()
1477 const MacroAnnotations &A = in emitFinalMacroWarning()