[clang] [Clang] __has_builtin should return false for aux triple builtins (PR #121839)

Nick Sarnie via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 8 10:13:06 PST 2025


================
@@ -0,0 +1,12 @@
+// REQUIRES: spirv-registered-target
+// REQUIRES: x86-registered-target
+
+// RUN: %clang_cc1 -fopenmp -triple=spirv64 -fopenmp-is-target-device \
+// RUN: -aux-triple x86_64-linux-unknown -E %s | FileCheck -implicit-check-not=BAD %s
----------------
sarnex wrote:

hopefully addressed in https://github.com/llvm/llvm-project/pull/121839/commits/3ce51118035f1f84ad02898858c95021ff6420d9, thx

https://github.com/llvm/llvm-project/pull/121839


More information about the cfe-commits mailing list