[PATCH] D104242: Removes an unused variable and alters a lit test to simplify and avoid a buildbot error
Fred Grim via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 14 13:27:16 PDT 2021
feg208 updated this revision to Diff 351982.
feg208 added a comment.
Looks like the dead code is removed in main
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104242/new/
https://reviews.llvm.org/D104242
Files:
clang/test/Format/struct-array-initializer.cpp
Index: clang/test/Format/struct-array-initializer.cpp
===================================================================
--- clang/test/Format/struct-array-initializer.cpp
+++ clang/test/Format/struct-array-initializer.cpp
@@ -1,9 +1,5 @@
-// RUN: grep -Ev "// *[A-Z-]+:" %s \
-// RUN: | clang-format -style="{BasedOnStyle: LLVM, AlignArrayOfStructures: Right}" %s \
-// RUN: | FileCheck -strict-whitespace -check-prefix=CHECK1 %s
-// RUN: grep -Ev "// *[A-Z-]+:" %s \
-// RUN: | clang-format -style="{BasedOnStyle: LLVM, AlignArrayOfStructures: Left}" %s \
-// RUN: | FileCheck -strict-whitespace -check-prefix=CHECK2 %s
+// RUN: clang-format -style="{BasedOnStyle: LLVM, AlignArrayOfStructures: Right}" %s | FileCheck -strict-whitespace -check-prefix=CHECK1 %s
+// RUN: clang-format -style="{BasedOnStyle: LLVM, AlignArrayOfStructures: Left}" %s | FileCheck -strict-whitespace -check-prefix=CHECK2 %s
struct test {
int a;
int b;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104242.351982.patch
Type: text/x-patch
Size: 947 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210614/fc3aa86f/attachment.bin>
More information about the cfe-commits
mailing list