[all-commits] [llvm/llvm-project] 69761e: [clang] [test] Verify that intrinsic headers don't...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Mon Oct 6 02:41:59 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 69761e761c8d37f4fa96af4483c37c436fa7d295
      https://github.com/llvm/llvm-project/commit/69761e761c8d37f4fa96af4483c37c436fa7d295
  Author: Martin Storsjö <martin at martin.st>
  Date:   2025-10-06 (Mon, 06 Oct 2025)

  Changed paths:
    M clang/test/Headers/arm-acle-header.c
    M clang/test/Headers/arm-cde-header.c
    M clang/test/Headers/arm-cmse-header.c
    M clang/test/Headers/arm-fp16-header.c
    M clang/test/Headers/arm-neon-header.c
    A clang/test/Headers/system_reserved_names.h
    M clang/test/Headers/x86-intrinsics-headers-clean.cpp
    M clang/test/Headers/x86-intrinsics-headers.c

  Log Message:
  -----------
  [clang] [test] Verify that intrinsic headers don't use unreserved names (#161817)

This mirrors a similar test that libcxx does, to make sure that the
libcxx headers don't use any unreserved symbols.

The header for polluting with defines is based very far on the libcxx
one; some parts of it could possibly be omitted, but I included most of
it for completeness here.

This should allow catching these issues earlier, to avoid issues like
#161808 and #98478 happening again.



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