[clang] Add support for builtin_verbose_trap (PR #79230)
Akira Hatanaka via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 25 12:17:04 PST 2024
================
@@ -0,0 +1,28 @@
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -fcxx-exceptions -verify %s
+
+#if !__has_builtin(__builtin_verbose_trap)
+#error
+#endif
----------------
ahatanak wrote:
This just makes sure the builtin is supported unconditionally and doesn't depend on some features or anything (cc @ldionne ).
https://github.com/llvm/llvm-project/pull/79230
More information about the cfe-commits
mailing list