Author: Marek Kurdej Date: 2022-02-14T14:05:05+01:00 New Revision: c72fdad71b6a9e5ca39fdcc7cb8bd476ecc5bbd7
URL: https://github.com/llvm/llvm-project/commit/c72fdad71b6a9e5ca39fdcc7cb8bd476ecc5bbd7 DIFF: https://github.com/llvm/llvm-project/commit/c72fdad71b6a9e5ca39fdcc7cb8bd476ecc5bbd7.diff LOG: [clang-format] Reformat. NFC. Added: Modified: clang/unittests/Format/FormatTest.cpp Removed: ################################################################################ diff --git a/clang/unittests/Format/FormatTest.cpp b/clang/unittests/Format/FormatTest.cpp index 689600c591b26..d230964cd2860 100644 --- a/clang/unittests/Format/FormatTest.cpp +++ b/clang/unittests/Format/FormatTest.cpp @@ -8412,8 +8412,11 @@ TEST_F(FormatTest, DeclarationsOfMultipleVariables) { verifyFormat("if (int *p, *q; p != q) {\n p = p->next;\n}", Style); verifyFormat("/*comment*/ if (int *p, *q; p != q) {\n p = p->next;\n}", Style); - verifyFormat("switch (int *p, *q; p != q) {\n default:\n break;\n}", Style); - verifyFormat("/*comment*/ switch (int *p, *q; p != q) {\n default:\n break;\n}", Style); + verifyFormat("switch (int *p, *q; p != q) {\n default:\n break;\n}", + Style); + verifyFormat( + "/*comment*/ switch (int *p, *q; p != q) {\n default:\n break;\n}", + Style); } TEST_F(FormatTest, ConditionalExpressionsInBrackets) { _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits