[clang] afff91d - [ASTImporter][NFC] Fix typo in testcase

via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 11 07:07:46 PDT 2023


Author: dingfei
Date: 2023-08-11T22:06:56+08:00
New Revision: afff91de082d1347d81c413a424f0a1b6fb02774

URL: https://github.com/llvm/llvm-project/commit/afff91de082d1347d81c413a424f0a1b6fb02774
DIFF: https://github.com/llvm/llvm-project/commit/afff91de082d1347d81c413a424f0a1b6fb02774.diff

LOG: [ASTImporter][NFC] Fix typo in testcase

Differential Revision: https://reviews.llvm.org/D157637

Added: 
    

Modified: 
    clang/unittests/AST/StructuralEquivalenceTest.cpp

Removed: 
    


################################################################################
diff  --git a/clang/unittests/AST/StructuralEquivalenceTest.cpp b/clang/unittests/AST/StructuralEquivalenceTest.cpp
index 319eefe1e6ba3e..092d9cc319a2e5 100644
--- a/clang/unittests/AST/StructuralEquivalenceTest.cpp
+++ b/clang/unittests/AST/StructuralEquivalenceTest.cpp
@@ -992,8 +992,8 @@ TEST_F(StructuralEquivalenceRecordContextTest, NamespaceInlineVsInline) {
 
 TEST_F(StructuralEquivalenceRecordContextTest, NamespaceInlineTopLevel) {
   auto Decls =
-      makeNamedDecls("inline namespace A { class X; } }",
-                     "inline namespace B { class X; } }", Lang_CXX17, "X");
+      makeNamedDecls("inline namespace A { class X; }",
+                     "inline namespace B { class X; }", Lang_CXX17, "X");
   EXPECT_TRUE(testStructuralMatch(Decls));
 }
 


        


More information about the cfe-commits mailing list