From: Daniel Jasper Date: Tue, 17 Sep 2013 09:26:07 +0000 (+0000) Subject: clang-format: Add comment to tests explaining their grouping. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=42ff263c42f0f181e76fcb8c8ebb129e8070d09a;p=clang clang-format: Add comment to tests explaining their grouping. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190858 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/Format/FormatTest.cpp b/unittests/Format/FormatTest.cpp index 3c295259c8..c5d0171a71 100644 --- a/unittests/Format/FormatTest.cpp +++ b/unittests/Format/FormatTest.cpp @@ -2069,6 +2069,8 @@ TEST_F(FormatTest, MacroCallsWithoutTrailingSemicolon) { " IPC_MESSAGE_HANDLER(xxx, qqq)\n" " IPC_END_MESSAGE_MAP()\n" "}")); + + // These must not be recognized as macros. EXPECT_EQ("int q() {\n" " f(x);\n" " f(x) {}\n"