[llvm-branch-commits] [clang] release/21.x: [clang][PAC] Fix builtins that claim address discriminated types are bitwise compatible (#154490) (PR #155492)

Oliver Hunt via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Aug 26 14:25:43 PDT 2025


================
@@ -634,7 +634,7 @@ class ASTContext : public RefCountedBase<ASTContext> {
   /// contain data that is address discriminated. This includes
   /// implicitly authenticated values like vtable pointers, as well as
   /// explicitly qualified fields.
-  bool containsAddressDiscriminatedPointerAuth(QualType T) {
+  bool containsAddressDiscriminatedPointerAuth(QualType T) const {
----------------
ojhunt wrote:

anyway, if that has shipped there's nothing we can do now except publish errata on broken behavior here

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


More information about the llvm-branch-commits mailing list