[clang] [Clang] handle invalid close location in static assert declaration (PR #108701)

Younan Zhang via cfe-commits cfe-commits at lists.llvm.org
Sat Sep 14 16:11:58 PDT 2024


================
@@ -0,0 +1,5 @@
+// RUN: %clang_cc1 -std=c++2a -triple=x86_64-linux -fsyntax-only %s -verify
----------------
zyn0217 wrote:

You can add another C++20 mode run to clang/test/SemaCXX/static-assert-cxx26.cpp, instead of adding a new file.

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


More information about the cfe-commits mailing list