[clang] [clang] Fix PointerAuth semantics of cpp_trivially_relocatable (PR #143969)

Corentin Jabot via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 12 14:05:13 PDT 2025


================
@@ -15121,6 +15155,21 @@ ASTContext::baseForVTableAuthentication(const CXXRecordDecl *ThisClass) {
   return PrimaryBase;
 }
 
+bool ASTContext::hasAddressDiscriminatedVTableAuthentication(
----------------
cor3ntin wrote:

I think that can just be a (static) function declared in this file, taking ASTContext as parameter - it should not be called directly

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


More information about the cfe-commits mailing list