[clang] [clang][PAC] Sign and authenticate atomics on __ptrauth types (PR #240090)
Oliver Hunt via cfe-commits
cfe-commits at lists.llvm.org
Sat Nov 7 22:38:18 PST 2026
================
@@ -4079,6 +4079,13 @@ class Sema final : public SemaBase {
bool checkPointerAuthDiscriminatorArg(Expr *Arg, PointerAuthDiscArgKind Kind,
unsigned &IntVal);
+ /// Diagnose a constant initializer that stores a nonzero integer into a
+ /// `__ptrauth`-qualified integer, which no relocation can sign. \p Evaluate
+ /// runs only when \p T contains one.
----------------
ojhunt wrote:
this reads like a claude comment :-/
https://github.com/llvm/llvm-project/pull/240090
More information about the cfe-commits
mailing list