From 42ff263c42f0f181e76fcb8c8ebb129e8070d09a Mon Sep 17 00:00:00 2001 From: Daniel Jasper Date: Tue, 17 Sep 2013 09:26:07 +0000 Subject: [PATCH] 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 --- unittests/Format/FormatTest.cpp | 2 ++ 1 file changed, 2 insertions(+) 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" -- 2.40.0