]> granicus.if.org Git - clang/commitdiff
clang-format: Add comment to tests explaining their grouping.
authorDaniel Jasper <djasper@google.com>
Tue, 17 Sep 2013 09:26:07 +0000 (09:26 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 17 Sep 2013 09:26:07 +0000 (09:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190858 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/Format/FormatTest.cpp

index 3c295259c8fa1196e545053290d4b288306da486..c5d0171a710732a31b71768b24e77bc14a880760 100644 (file)
@@ -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"