summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format/FormatToken.h
diff options
context:
space:
mode:
authorPaul Hoad <mydeveloperday@gmail.com>2019-03-01 09:09:54 +0000
committerPaul Hoad <mydeveloperday@gmail.com>2019-03-01 09:09:54 +0000
commit5bcf99b4bda6f643db66d3ce64337eb0a6e32d2c (patch)
treebf3447158d8a97a1e8ee7d69f12715f42b45c113 /clang/lib/Format/FormatToken.h
parentfa61dddf5dc8cc35de6f814a04012b73a1afcb0e (diff)
downloadbcm5719-llvm-5bcf99b4bda6f643db66d3ce64337eb0a6e32d2c.tar.gz
bcm5719-llvm-5bcf99b4bda6f643db66d3ce64337eb0a6e32d2c.zip
[clang-format] [NFC] clang-format the Format library
Previously revisions commited non-clang-formatted changes to the Format library, this means submitting any revision e.g. {D55170} can cause additional whitespace changes to potentially be included in a revision. Commit a non functional change using latest build Windows clang-format r351376 with no other changes, to remove these differences All FormatTests pass [==========] 652 tests from 20 test cases ran. llvm-svn: 355182
Diffstat (limited to 'clang/lib/Format/FormatToken.h')
-rw-r--r--clang/lib/Format/FormatToken.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Format/FormatToken.h b/clang/lib/Format/FormatToken.h
index 9825b24b019..2989c760b67 100644
--- a/clang/lib/Format/FormatToken.h
+++ b/clang/lib/Format/FormatToken.h
@@ -489,8 +489,7 @@ struct FormatToken {
bool opensBlockOrBlockTypeList(const FormatStyle &Style) const {
if (is(TT_TemplateString) && opensScope())
return true;
- return is(TT_ArrayInitializerLSquare) ||
- is(TT_ProtoExtensionLSquare) ||
+ return is(TT_ArrayInitializerLSquare) || is(TT_ProtoExtensionLSquare) ||
(is(tok::l_brace) &&
(BlockKind == BK_Block || is(TT_DictLiteral) ||
(!Style.Cpp11BracedListStyle && NestingLevel == 0))) ||
OpenPOWER on IntegriCloud