https://github.com/pcc updated https://github.com/llvm/llvm-project/pull/172119
>From 98b458c43bd3b89075d5f5594c2b970ddb95da17 Mon Sep 17 00:00:00 2001 From: Peter Collingbourne <[email protected]> Date: Fri, 12 Dec 2025 17:49:29 -0800 Subject: [PATCH] Format Created using spr 1.3.6-beta.1 --- clang/lib/Sema/SemaDeclAttr.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clang/lib/Sema/SemaDeclAttr.cpp b/clang/lib/Sema/SemaDeclAttr.cpp index f3737080503f2..c252a8c162a25 100644 --- a/clang/lib/Sema/SemaDeclAttr.cpp +++ b/clang/lib/Sema/SemaDeclAttr.cpp @@ -8032,7 +8032,8 @@ ProcessDeclAttribute(Sema &S, Scope *scope, Decl *D, const ParsedAttr &AL, case ParsedAttr::AT_PointerFieldProtection: if (!S.getLangOpts().PointerFieldProtectionAttr) - S.Diag(AL.getLoc(), diag::err_attribute_pointer_field_protection_experimental) + S.Diag(AL.getLoc(), + diag::err_attribute_pointer_field_protection_experimental) << AL << AL.isRegularKeywordAttribute() << D->getLocation(); handleSimpleAttribute<PointerFieldProtectionAttr>(S, D, AL); break; _______________________________________________ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
