This is an archive of the discontinued LLVM Phabricator instance.

[clang-format] Add MinDigits suboptions to IntegerLiteralSeparator
ClosedPublic

Authored by owenpan on Mar 28 2023, 10:12 PM.

Diff Detail

Event Timeline

owenpan created this revision.Mar 28 2023, 10:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 28 2023, 10:12 PM
owenpan requested review of this revision.Mar 28 2023, 10:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 28 2023, 10:12 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
HazardyKnusperkeks added inline comments.
clang/include/clang/Format/Format.h
4303–4304

Could we move that to (a not yet existing) IntegerLiteralSeparatorStyle::operator==?

This revision is now accepted and ready to land.Mar 29 2023, 3:37 AM
MyDeveloperDay accepted this revision.Mar 29 2023, 12:23 PM
owenpan updated this revision to Diff 509511.Mar 29 2023, 5:27 PM

Adds IntegerLiteralSeparatorStyle::operator==.

owenpan requested review of this revision.Mar 29 2023, 5:28 PM
owenpan marked an inline comment as done.
owenpan added inline comments.
clang/include/clang/Format/Format.h
4303–4304

Good point.

owenpan marked an inline comment as done.Mar 29 2023, 5:30 PM
This revision was not accepted when it landed; it landed in state Needs Review.Mar 31 2023, 5:15 PM
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.