[all-commits] [llvm/llvm-project] f4f25d: [clang][PAC] Fix builtins that claim address discr...

Oliver Hunt via All-commits all-commits at lists.llvm.org
Tue Aug 26 15:59:53 PDT 2025


  Branch: refs/heads/users/ojhunt/backport-154394-to-llvm21
  Home:   https://github.com/llvm/llvm-project
  Commit: f4f25db8491455525049336061c4159abd426d76
      https://github.com/llvm/llvm-project/commit/f4f25db8491455525049336061c4159abd426d76
  Author: Oliver Hunt <oliver at apple.com>
  Date:   2025-08-26 (Tue, 26 Aug 2025)

  Changed paths:
    M clang/include/clang/AST/ASTContext.h
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/DeclCXX.cpp
    M clang/lib/AST/Type.cpp
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaTypeTraits.cpp
    M clang/test/SemaCXX/ptrauth-triviality.cpp
    A clang/test/SemaCXX/ptrauth-type-traits.cpp
    M clang/test/SemaCXX/trivially-relocatable-ptrauth.cpp

  Log Message:
  -----------
  [clang][PAC] Fix builtins that claim address discriminated types are bitwise compatible (#154490)

A number of builtins report some variation of "this type is compatibile
with some bitwise equivalent operation", but this is not true for
address discriminated values. We had address a number of cases, but not
all of them. This PR corrects the remaining builtins.

Fixes #154394



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list