summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Format
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2015-11-20 15:26:50 +0000
committerDaniel Jasper <djasper@google.com>2015-11-20 15:26:50 +0000
commit7fa524b4b874529bff9b93b1783bcb29924c782f (patch)
tree530ef253ddbf62da10c2a3f4493c7e3379e921aa /clang/unittests/Format
parentd4d3dfd8ef1c58b5ec900ce8c349ccf35dcd2912 (diff)
downloadbcm5719-llvm-7fa524b4b874529bff9b93b1783bcb29924c782f.tar.gz
bcm5719-llvm-7fa524b4b874529bff9b93b1783bcb29924c782f.zip
clang-format: Don't use incorrect space in macro calls with operators.
Before: MACRO(> ); After: MACRO(>); Not overly important, but easy and good for symmetry reasons :-). llvm-svn: 253669
Diffstat (limited to 'clang/unittests/Format')
-rw-r--r--clang/unittests/Format/FormatTest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/unittests/Format/FormatTest.cpp b/clang/unittests/Format/FormatTest.cpp
index 1c5e63b3e08..f0646c62e1e 100644
--- a/clang/unittests/Format/FormatTest.cpp
+++ b/clang/unittests/Format/FormatTest.cpp
@@ -2927,6 +2927,8 @@ TEST_F(FormatTest, MacroCallsWithoutTrailingSemicolon) {
" EXCLUSIVE_LOCK_FUNCTION(mu_);\n"
"};",
getLLVMStyleWithColumns(40)));
+
+ verifyFormat("MACRO(>)");
}
TEST_F(FormatTest, LayoutMacroDefinitionsStatementsSpanningBlocks) {
OpenPOWER on IntegriCloud