[all-commits] [llvm/llvm-project] a867bd: [clang][PAC] Don't try to diagnose use of pointer ...

Oliver Hunt via All-commits all-commits at lists.llvm.org
Wed Oct 1 08:18:49 PDT 2025


  Branch: refs/heads/release/21.x
  Home:   https://github.com/llvm/llvm-project
  Commit: a867bd53e86173e6e1b9f40960133e72ff206414
      https://github.com/llvm/llvm-project/commit/a867bd53e86173e6e1b9f40960133e72ff206414
  Author: Oliver Hunt <oliver at apple.com>
  Date:   2025-10-01 (Wed, 01 Oct 2025)

  Changed paths:
    M clang/lib/AST/ASTContext.cpp
    M clang/test/SemaCXX/ptrauth-type-traits.cpp

  Log Message:
  -----------
  [clang][PAC] Don't try to diagnose use of pointer auth on dependent types #159505 (#159859)

We can't give a correct answer for dependent types, so for now just
report no ptrauth involves if the type being queried is dependent. In
future we may want to distinguigh the `None` vs `Dependent` cases but
that does not seem warranted for now.

Fixes #159505

(cherry picked from commit f6c711b426300d2f8b914fc7debe6d09c026740e)



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