[llvm-branch-commits] [libc++] Annotate classes with _LIBCXX_PFP to enable pointer field protection (PR #151652)

Peter Collingbourne via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Sep 10 13:05:12 PDT 2025


pcc wrote:

> What is the reasoning behind this? Could we document something when to apply the attribute?

I added this to types which are commonly used, as mentioned in the commit message. I will document that in the coding guidelines.

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


More information about the llvm-branch-commits mailing list