in TokenAnnotator::parseBrace. Left is misleading, because we have a loop and Left does not move.
Also return early.
Paths
| Differential D121558
[clang-format][NFC] Left renamed to OpeningBrace... ClosedPublic Authored by HazardyKnusperkeks on Mar 13 2022, 2:13 PM.
Details Summary in TokenAnnotator::parseBrace. Left is misleading, because we have a loop and Left does not move. Also return early.
Diff Detail
Event TimelineHazardyKnusperkeks added a child revision: D121559: [clang-format] Fix crash on asm block with label.Mar 13 2022, 2:15 PM This revision is now accepted and ready to land.Mar 13 2022, 2:24 PM Closed by commit rGb7494a1d72c1: [clang-format][NFC] Left renamed to OpeningBrace... (authored by HazardyKnusperkeks). · Explain WhyMar 14 2022, 4:45 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 415067 clang/lib/Format/TokenAnnotator.cpp
|