[llvm-branch-commits] [clang] [Clang] Add pointer field protection feature. (PR #172119)
Oliver Hunt via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Jan 13 12:46:46 PST 2026
================
@@ -6639,6 +6639,10 @@ static void handleZeroCallUsedRegsAttr(Sema &S, Decl *D, const ParsedAttr &AL) {
D->addAttr(ZeroCallUsedRegsAttr::Create(S.Context, Kind, AL));
}
+static void handleNoPFPAttrField(Sema &S, Decl *D, const ParsedAttr &AL) {
+ D->addAttr(NoFieldProtectionAttr::Create(S.Context, AL));
----------------
ojhunt wrote:
please check, I don't know if we warn or if we just ignoe
https://github.com/llvm/llvm-project/pull/172119
More information about the llvm-branch-commits
mailing list