[clang] [Clang] Improve support for expression messages in `static_assert` (PR #73234)
Vlad Serebrennikov via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 23 10:16:45 PST 2023
================
@@ -0,0 +1,30 @@
+// RUN: %clang_cc1 -std=c++2c -verify %s
+
+namespace dr2798 { // dr2798: 17 drafting
+#if __cpp_static_assert >= 202306
+struct string {
+ constexpr string() {
----------------
Endilll wrote:
Is there a reason not to format this test with clang-format?
https://github.com/llvm/llvm-project/pull/73234
More information about the cfe-commits
mailing list