[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:51:17 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: None (yronglin)

<details>
<summary>Changes</summary>

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

---
Full diff: https://github.com/llvm/llvm-project/pull/107838.diff


1 Files Affected:

- (modified) clang/test/CXX/drs/cwg18xx.cpp (+1-1) 


``````````diff
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 = {};

``````````

</details>


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


More information about the cfe-commits mailing list