Skip to content
Permalink
Browse files

clang-format: Add another test like r366926

llvm-svn: 366929
  • Loading branch information...
nico committed Jul 24, 2019
1 parent b342bdd commit c913d1f2d6d8fcd26131390322c927743c5677a8
Showing with 1 addition and 0 deletions.
  1. +1 −0 clang/unittests/Format/FormatTest.cpp
@@ -6918,6 +6918,7 @@ TEST_F(FormatTest, UnderstandsUsesOfStarAndAmp) {
verifyIndependentOfContext("if (*b[i])");
verifyIndependentOfContext("if (int *a = (&b))");
verifyIndependentOfContext("while (int *a = &b)");
verifyIndependentOfContext("while (a * (b * c))");
verifyIndependentOfContext("size = sizeof *a;");
verifyIndependentOfContext("if (a && (b = c))");
verifyFormat("void f() {\n"

0 comments on commit c913d1f

Please sign in to comment.
You can’t perform that action at this time.