diff options
author | Haojian Wu <hokein.wu@gmail.com> | 2020-04-23 09:25:01 +0200 |
---|---|---|
committer | Haojian Wu <hokein.wu@gmail.com> | 2020-04-23 09:25:01 +0200 |
commit | 47ef09e4848a970c530928496b54085cfdba5a76 (patch) | |
tree | 0b40676324fe250eb62031f70847377bfc8e8d4c /clang/unittests/Format/FormatTestJS.cpp | |
parent | 25807452ac1bca643bdc00f7555e9cad03097b0e (diff) | |
download | llvm-47ef09e4848a970c530928496b54085cfdba5a76.zip llvm-47ef09e4848a970c530928496b54085cfdba5a76.tar.gz llvm-47ef09e4848a970c530928496b54085cfdba5a76.tar.bz2 |
Revert "clang-format: support aligned nested conditionals formatting"
This reverts 3d61b1120e8267aa39f4c9a33d618dbaec4ec6fa, 5daa25fd7a184524759b6ad065a8bd7e95aa149a
The clang-format test (FormatTest.ConfigurableUseOfTab) is failing in the buildbot:
http://lab.llvm.org:8011/builders/clang-s390x-linux/builds/31811/steps/ninja%20check%201/logs/stdio
Diffstat (limited to 'clang/unittests/Format/FormatTestJS.cpp')
-rw-r--r-- | clang/unittests/Format/FormatTestJS.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/Format/FormatTestJS.cpp b/clang/unittests/Format/FormatTestJS.cpp index c1c4706..eadea35 100644 --- a/clang/unittests/Format/FormatTestJS.cpp +++ b/clang/unittests/Format/FormatTestJS.cpp @@ -277,7 +277,7 @@ TEST_F(FormatTestJS, UnderstandsJavaScriptOperators) { verifyFormat("var x = aaaaaaaaaaaaaaaaaaaaaaaaa() in\n" " aaaa.aaaaaa.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa;"); FormatStyle Style = getGoogleJSStyleWithColumns(80); - Style.AlignOperands = FormatStyle::OAS_Align; + Style.AlignOperands = true; verifyFormat("var x = aaaaaaaaaaaaaaaaaaaaaaaaa() in\n" " aaaa.aaaaaa.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa;", Style); |