[clang-tools-extra] r328622 - [clang-move] Fix test failing due to clang-format change

Krasimir Georgiev via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 27 06:39:33 PDT 2018


Author: krasimir
Date: Tue Mar 27 06:39:33 2018
New Revision: 328622

URL: http://llvm.org/viewvc/llvm-project?rev=328622&view=rev
Log:
[clang-move] Fix test failing due to clang-format change

r328621 reverted the removal of empty lines before the closing `}` in
namespaces.

Modified:
    clang-tools-extra/trunk/test/clang-move/move-used-helper-decls.cpp

Modified: clang-tools-extra/trunk/test/clang-move/move-used-helper-decls.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-move/move-used-helper-decls.cpp?rev=328622&r1=328621&r2=328622&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-move/move-used-helper-decls.cpp (original)
+++ clang-tools-extra/trunk/test/clang-move/move-used-helper-decls.cpp Tue Mar 27 06:39:33 2018
@@ -335,6 +335,7 @@
 // CHECK-NEW-H-NEXT: void Fun1();
 // CHECK-NEW-H-SAME: {{[[:space:]]}}
 // CHECK-NEW-H-NEXT: inline void Fun2() {}
+// CHECK-NEW-H-SAME: {{[[:space:]]}}
 // CHECK-NEW-H-NEXT: } // namespace a
 
 
@@ -412,6 +413,7 @@
 // CHECK-NEW-CPP-NEXT: }
 // CHECK-NEW-CPP-SAME: {{[[:space:]]}}
 // CHECK-NEW-CPP-NEXT: void Fun1() { HelperFun5(); }
+// CHECK-NEW-CPP-SAME: {{[[:space:]]}}
 // CHECK-NEW-CPP-NEXT: } // namespace a
 // CHECK-NEW-CPP-SAME: {{[[:space:]]}}
 // CHECK-NEW-CPP-NEXT: namespace b {




More information about the cfe-commits mailing list