summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Format/FormatTest.cpp
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2016-02-18 22:34:54 +0000
committerRichard Trieu <rtrieu@google.com>2016-02-18 22:34:54 +0000
commitcc3949d99af2b2ea2f31c1694eeef7cea0f484f0 (patch)
tree7b6a787cb2352bf0f9ced314eaff8aad71618459 /clang/unittests/Format/FormatTest.cpp
parent7a08381403b54cd8998f3c922f18b65867e3c07c (diff)
downloadbcm5719-llvm-cc3949d99af2b2ea2f31c1694eeef7cea0f484f0.tar.gz
bcm5719-llvm-cc3949d99af2b2ea2f31c1694eeef7cea0f484f0.zip
Remove use of builtin comma operator.
Cleanup for upcoming Clang warning -Wcomma. No functionality change intended. llvm-svn: 261271
Diffstat (limited to 'clang/unittests/Format/FormatTest.cpp')
-rw-r--r--clang/unittests/Format/FormatTest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/unittests/Format/FormatTest.cpp b/clang/unittests/Format/FormatTest.cpp
index 48269cae66d..d7bbafa48ce 100644
--- a/clang/unittests/Format/FormatTest.cpp
+++ b/clang/unittests/Format/FormatTest.cpp
@@ -8683,7 +8683,8 @@ TEST_F(FormatTest, ConfigurableSpacesInParentheses) {
verifyFormat("#define x (( int )-1)", Spaces);
// Run the first set of tests again with:
- Spaces.SpacesInParentheses = false, Spaces.SpaceInEmptyParentheses = true;
+ Spaces.SpacesInParentheses = false;
+ Spaces.SpaceInEmptyParentheses = true;
Spaces.SpacesInCStyleCastParentheses = true;
verifyFormat("call(x, y, z);", Spaces);
verifyFormat("call( );", Spaces);
OpenPOWER on IntegriCloud