[clang] [NFC][clang] Fix clang version in the test for the implementation of cwg1815 (PR #107838)

via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 9 03:50:46 PDT 2024


https://github.com/yronglin created https://github.com/llvm/llvm-project/pull/107838

This PR fix the clang version in https://github.com/llvm/llvm-project/pull/97308 .

>From d99447b57b723efea16ad10015a6b83cc1fd51c5 Mon Sep 17 00:00:00 2001
From: yronglin <yronglin777 at gmail.com>
Date: Mon, 9 Sep 2024 18:48:37 +0800
Subject: [PATCH] [NFC][clang] Fix clang version in the test for

Signed-off-by: yronglin <yronglin777 at gmail.com>
---
 clang/test/CXX/drs/cwg18xx.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/test/CXX/drs/cwg18xx.cpp b/clang/test/CXX/drs/cwg18xx.cpp
index 43df5880a14d67..7f0fb8cf589d48 100644
--- a/clang/test/CXX/drs/cwg18xx.cpp
+++ b/clang/test/CXX/drs/cwg18xx.cpp
@@ -206,7 +206,7 @@ namespace cwg1814 { // cwg1814: yes
 #endif
 }
 
-namespace cwg1815 { // cwg1815: 19
+namespace cwg1815 { // cwg1815: 20
 #if __cplusplus >= 201402L
   struct A { int &&r = 0; };
   A a = {};



More information about the cfe-commits mailing list