forked from OSchip/llvm-project
[clang-format][NFC] Merge two calls of isOneOf
Differential Revision: https://reviews.llvm.org/D115065
This commit is contained in:
parent
e7fdeda2c9
commit
5878ac7d2d
|
@ -2034,9 +2034,8 @@ private:
|
|||
tok::comma, tok::semi, tok::kw_return, tok::colon,
|
||||
tok::kw_co_return, tok::kw_co_await,
|
||||
tok::kw_co_yield, tok::equal, tok::kw_delete,
|
||||
tok::kw_sizeof, tok::kw_throw) ||
|
||||
PrevToken->isOneOf(TT_BinaryOperator, TT_ConditionalExpr,
|
||||
TT_UnaryOperator, TT_CastRParen))
|
||||
tok::kw_sizeof, tok::kw_throw, TT_BinaryOperator,
|
||||
TT_ConditionalExpr, TT_UnaryOperator, TT_CastRParen))
|
||||
return TT_UnaryOperator;
|
||||
|
||||
if (NextToken->is(tok::l_square) && NextToken->isNot(TT_LambdaLSquare))
|
||||
|
|
Loading…
Reference in New Issue