https://github.com/atrosinenko updated 
https://github.com/llvm/llvm-project/pull/207265

>From e140c636549cee29cae1962643fdafcb6434b786 Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko <[email protected]>
Date: Thu, 2 Jul 2026 22:17:05 +0300
Subject: [PATCH 1/2] [PAC][Headers] Fix incorrect comment in ptrauth.h

---
 clang/lib/Headers/ptrauth.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

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. */

>From f963e94fc81859ee32106d592dc9b491e097d815 Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko <[email protected]>
Date: Thu, 2 Jul 2026 23:05:18 +0300
Subject: [PATCH 2/2] Make wording more clear

---
 clang/lib/Headers/ptrauth.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/lib/Headers/ptrauth.h b/clang/lib/Headers/ptrauth.h
index 537feba631f85..0eb99c37e978b 100644
--- a/clang/lib/Headers/ptrauth.h
+++ b/clang/lib/Headers/ptrauth.h
@@ -38,7 +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 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. */

_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to