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

Oliver Hunt via All-commits all-commits at lists.llvm.org
Fri Sep 19 18:34:31 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f6c711b426300d2f8b914fc7debe6d09c026740e
      https://github.com/llvm/llvm-project/commit/f6c711b426300d2f8b914fc7debe6d09c026740e
  Author: Oliver Hunt <oliver at apple.com>
  Date:   2025-09-19 (Fri, 19 Sep 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



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