[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
Sat Dec 20 23:33:59 PST 2025


================
@@ -3802,6 +3808,22 @@ OPT_LIST(V)
 
   StringRef getCUIDHash() const;
 
+  void findPFPFields(QualType Ty, CharUnits Offset,
----------------
ojhunt wrote:

Alternatively we could have a PFPField iterator that applies the the offset on dereference

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


More information about the llvm-branch-commits mailing list