[llvm-branch-commits] [clang] release/23.x: [PAC][Headers] Fix incorrect comment in ptrauth.h (#207265) (PR #212580)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Jul 28 11:47:55 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: llvmbot

<details>
<summary>Changes</summary>

Backport 26643a89ddf98e48e986d25ceb10f673735bc7d7

Requested by: @<!-- -->atrosinenko

---
Full diff: https://github.com/llvm/llvm-project/pull/212580.diff


1 Files Affected:

- (modified) clang/lib/Headers/ptrauth.h (+1-2) 


``````````diff
diff --git a/clang/lib/Headers/ptrauth.h b/clang/lib/Headers/ptrauth.h
index 978c6737efeeb..32c089d830715 100644
--- a/clang/lib/Headers/ptrauth.h
+++ b/clang/lib/Headers/ptrauth.h
@@ -38,8 +38,7 @@ typedef enum {
      The extra data is always 0. */
   ptrauth_key_function_pointer = ptrauth_key_process_independent_code,
 
-  /* The key used to sign C++ v-table pointers.
-     The extra data is always 0. */
+  /* The key used to sign pointers to C++ v-tables. */
   ptrauth_key_cxx_vtable_pointer = ptrauth_key_process_independent_data,
 
   /* The key used to sign metadata pointers to Objective-C method-lists. */

``````````

</details>


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


More information about the llvm-branch-commits mailing list