This is an archive of the discontinued LLVM Phabricator instance.

[clang-format] Make AlwaysBreakAfterReturnType work with K&R C function definitions
ClosedPublic

Authored by owenpan on Jul 14 2021, 12:05 AM.

Diff Detail

Event Timeline

owenpan requested review of this revision.Jul 14 2021, 12:05 AM
owenpan created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptJul 14 2021, 12:05 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript

Thanks for this, I'm not sure I have the heart to dig out my old K&R code to test it ;-), Assuming the tests are good then it LGTM.

MyDeveloperDay accepted this revision.Jul 14 2021, 12:39 AM

Myabe give the others some time to take a look too

This revision is now accepted and ready to land.Jul 14 2021, 12:39 AM
curdeius accepted this revision.Jul 14 2021, 5:16 AM

LGTM.

This revision was landed with ongoing or failed builds.Jul 14 2021, 2:42 PM
This revision was automatically updated to reflect the committed changes.