This is an archive of the discontinued LLVM Phabricator instance.

[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 Timeline

HazardyKnusperkeks requested review of this revision.Feb 21 2022, 1:42 AM
HazardyKnusperkeks created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptFeb 21 2022, 1:42 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
owenpan accepted this revision.Feb 21 2022, 1:49 AM
This revision is now accepted and ready to land.Feb 21 2022, 1:49 AM
curdeius accepted this revision.Feb 21 2022, 3:20 AM
This revision was landed with ongoing or failed builds.Feb 22 2022, 1:09 PM
This revision was automatically updated to reflect the committed changes.