File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2554,7 +2554,7 @@ bool UnwrappedLineParser::parseParens(TokenType AmpAmpTokenType) {
2554
2554
const bool DoubleParens =
2555
2555
Prev && Prev->is (tok::l_paren) && Next && Next->is (tok::r_paren);
2556
2556
const auto *PrevPrev = Prev ? Prev->getPreviousNonComment () : nullptr ;
2557
- const bool Blacklisted =
2557
+ const bool Disallowed =
2558
2558
PrevPrev &&
2559
2559
(PrevPrev->isOneOf (tok::kw___attribute, tok::kw_decltype) ||
2560
2560
(SeenEqual &&
@@ -2566,7 +2566,7 @@ bool UnwrappedLineParser::parseParens(TokenType AmpAmpTokenType) {
2566
2566
(!NestedLambdas.empty () && !NestedLambdas.back ())) &&
2567
2567
Prev && Prev->isOneOf (tok::kw_return, tok::kw_co_return) && Next &&
2568
2568
Next->is (tok::semi);
2569
- if ((DoubleParens && !Blacklisted ) || ReturnParens) {
2569
+ if ((DoubleParens && !Disallowed ) || ReturnParens) {
2570
2570
LeftParen->Optional = true ;
2571
2571
FormatTok->Optional = true ;
2572
2572
}
You can’t perform that action at this time.
0 commit comments