[clang] [PAC][Headers] Fix incorrect comment in ptrauth.h (PR #207265)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 2 13:00:08 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Anatoly Trosinenko (atrosinenko)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/207265.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 cde1b3c4ebbe2..537feba631f85 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 C++ v-table pointers. */
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/207265
More information about the cfe-commits
mailing list