Setting a boolean within an if and only using it in the very next if is a bit confusing. Merge it into one if.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D120237
[clang-format][NFC] Simplify if in ContinuationIndenter::addTokenOCL ClosedPublic Authored by HazardyKnusperkeks on Feb 21 2022, 1:42 AM.
Details Summary Setting a boolean within an if and only using it in the very next if is a bit confusing. Merge it into one if.
Diff Detail Event TimelineHazardyKnusperkeks created this revision. This revision is now accepted and ready to land.Feb 21 2022, 1:49 AM This revision was landed with ongoing or failed builds.Feb 22 2022, 1:09 PM Closed by commit rG7ebb00a22e7e: [clang-format][NFC] Simplify if in ContinuationIndenter::addTokenOCL (authored by HazardyKnusperkeks). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 410247 clang/lib/Format/ContinuationIndenter.cpp
|