[clang] [clang] Implement CWG2627 Bit-fields and narrowing conversions (PR #78112)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 31 05:47:03 PDT 2024


================
@@ -0,0 +1,44 @@
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
+// RUN: %clang_cc1 -triple x86_64-linux-pc -fsyntax-only -verify -std=c++11 %s
+// RUN: %clang_cc1 -triple x86_64-windows-pc -fsyntax-only -verify -std=c++11 %s
+// RUN: %clang_cc1 -triple i386-linux-pc -fsyntax-only -verify -std=c++11 %s
+// RUN: %clang_cc1 -triple i386-windows-pc -fsyntax-only -verify -std=c++11 %s
----------------
AaronBallman wrote:

Could we get away with two RUN lines instead of four by doing `-triple x86_64` and `-triple i386` and leaving the rest of the triple to the test runner?

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


More information about the cfe-commits mailing list