The reflower didn't measure precisely the line column of a line in the middle of
a line comment section that has a prefix that needs to be adapted.
source:
/// a //b
format before:
/// a //b
format after:
/// a // b
Paths
| Differential D29329
[clang-format] Fix regression about adding leading whitespace to the content of line comments ClosedPublic Authored by krasimir on Jan 31 2017, 7:33 AM.
Details
Summary The reflower didn't measure precisely the line column of a line in the middle of source: /// a //b format before: /// a //b format after: /// a // b
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 31 2017, 7:48 AM Closed by commit rL293641: [clang-format] Fix regression about adding leading whitespace to the content of… (authored by krasimir). · Explain WhyJan 31 2017, 7:51 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 86434 lib/Format/BreakableToken.cpp
unittests/Format/FormatTest.cpp
|