[llvm-branch-commits] [clang] [Clang] Add pointer field protection feature. (PR #133538)

Florian Mayer via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Dec 4 16:35:48 PST 2025


================
@@ -2643,6 +2643,19 @@ def CountedByOrNull : DeclOrTypeAttr {
   let LangOpts = [COnly];
 }
 
+def NoFieldProtection : DeclOrTypeAttr {
+  let Spellings = [Clang<"no_field_protection">];
----------------
fmayer wrote:

why not `pointer_field_protection`

https://github.com/llvm/llvm-project/pull/133538


More information about the llvm-branch-commits mailing list