[clang-format][NFC] Simplify if in ContinuationIndenter::addTokenOCL
authorBjörn Schäpers <bjoern@hazardy.de>
Sun, 2 Jan 2022 20:53:02 +0000 (21:53 +0100)
committerBjörn Schäpers <bjoern@hazardy.de>
Tue, 22 Feb 2022 21:08:02 +0000 (22:08 +0100)
commit7ebb00a22e7ec78a3090ecc15f59d247e0f390db
tree64cb3d8ab3f3b04a31f3721b92cae060a61b4e2e
parent9b1ae9f67fb38a8623172b6e0f03133a32b78aad
[clang-format][NFC] Simplify if in ContinuationIndenter::addTokenOCL

Setting a boolean within an if and only using it in the very next if is
a bit confusing. Merge it into one if.

Differential Revision: https://reviews.llvm.org/D120237
clang/lib/Format/ContinuationIndenter.cpp