[clang] [clang] Constexpr for __builtin_shufflevector and __builtin_convertvector (PR #76615)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 4 06:39:36 PST 2024


Pol Marcet =?utf-8?q?Sardà?= <polmarcetsarda at gmail.com>,
Pol Marcet =?utf-8?q?Sardà?= <polmarcetsarda at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/76615 at github.com>


================
@@ -0,0 +1,99 @@
+// RUN: %clang_cc1 -verify -std=c++2a -fsyntax-only %s
+// expected-no-diagnostics
+
+#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
----------------
erichkeane wrote:

Can we clean up this test?  All of the macros doing the 'check' generation make this pretty unreadable.

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


More information about the cfe-commits mailing list