r190858 - clang-format: Add comment to tests explaining their grouping.

Daniel Jasper djasper at google.com
Tue Sep 17 02:26:07 PDT 2013


Author: djasper
Date: Tue Sep 17 04:26:07 2013
New Revision: 190858

URL: http://llvm.org/viewvc/llvm-project?rev=190858&view=rev
Log:
clang-format: Add comment to tests explaining their grouping.

Modified:
    cfe/trunk/unittests/Format/FormatTest.cpp

Modified: cfe/trunk/unittests/Format/FormatTest.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/Format/FormatTest.cpp?rev=190858&r1=190857&r2=190858&view=diff
==============================================================================
--- cfe/trunk/unittests/Format/FormatTest.cpp (original)
+++ cfe/trunk/unittests/Format/FormatTest.cpp Tue Sep 17 04:26:07 2013
@@ -2069,6 +2069,8 @@ TEST_F(FormatTest, MacroCallsWithoutTrai
                    "    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"





More information about the cfe-commits mailing list