[all-commits] [llvm/llvm-project] 1dbc8e: [clang][ptrauth] Make ptrauth feature detection te...

Oliver Hunt via All-commits all-commits at lists.llvm.org
Thu Apr 17 17:53:56 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1dbc8ef5538e25f61664d807fda236f7d983cc69
      https://github.com/llvm/llvm-project/commit/1dbc8ef5538e25f61664d807fda236f7d983cc69
  Author: Oliver Hunt <oliver at apple.com>
  Date:   2025-04-17 (Thu, 17 Apr 2025)

  Changed paths:
    M clang/test/Sema/ptrauth-qualifier.c
    M clang/test/Sema/ptrauth.c
    M clang/test/SemaObjC/ptrauth-qualifier.m

  Log Message:
  -----------
  [clang][ptrauth] Make ptrauth feature detection tests more robust (#136204)

The existing test behavior checked for a warning being emitted under an
#if, but if the feature detection fails the #if fails and the warning is
not expected in the output.

I've made the test more explicit, and added comments to ensure no one
simply adds/moves any expected output around.



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