[clang] [clang][ASTMatcher] Add matchers for CXXFoldExpr (PR #71245)

Piotr Zegar via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 24 15:29:29 PST 2023


================
@@ -658,27 +658,27 @@ void check_match_co_return() {
   co_return 1;
 }
 )cpp";
-  EXPECT_TRUE(matchesConditionally(CoReturnCode, 
-                                   coreturnStmt(isExpansionInMainFile()), 
-                                   true, {"-std=c++20", "-I/"}, M));
+  EXPECT_TRUE(matchesConditionally(CoReturnCode,
+                                   coreturnStmt(isExpansionInMainFile()), true,
----------------
PiotrZSL wrote:

no need for, I will check tests tomorrow.

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


More information about the cfe-commits mailing list