Searched refs:MacroAnnotations (Results 1 – 2 of 2) sorted by relevance
898 struct MacroAnnotations { struct903 static MacroAnnotations makeDeprecation(SourceLocation Loc, in makeDeprecation() argument905 return MacroAnnotations{MacroAnnotationInfo{Loc, std::move(Msg)}, in makeDeprecation()909 static MacroAnnotations makeRestrictExpansion(SourceLocation Loc, in makeRestrictExpansion() argument911 return MacroAnnotations{ in makeRestrictExpansion()915 static MacroAnnotations makeFinal(SourceLocation Loc) { in makeFinal() argument916 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 …]
1446 const MacroAnnotations &A = in emitMacroDeprecationWarning()1461 const MacroAnnotations &A = in emitRestrictExpansionWarning()1477 const MacroAnnotations &A = in emitFinalMacroWarning()