Frequently, a percent in protos denotes a formatting specifier for string replacement.
Thus it is desirable to keep the percent together with what follows after it.
Details
Details
Diff Detail
Diff Detail
- Repository
- rC Clang
Paths
| Differential D43294
[clang-format] Recognize percents as format specifiers in protos ClosedPublic Authored by krasimir on Feb 14 2018, 8:17 AM.
Details Summary Frequently, a percent in protos denotes a formatting specifier for string replacement.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Feb 14 2018, 9:24 AM Closed by commit rC325159: [clang-format] Recognize percents as format specifiers in protos (authored by krasimir). · Explain WhyFeb 14 2018, 11:49 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 134286 lib/Format/TokenAnnotator.cpp
unittests/Format/FormatTestProto.cpp
unittests/Format/FormatTestTextProto.cpp
|