This is an archive of the discontinued LLVM Phabricator instance.

[clang-format] Add an option to insert a newline at EOF if missing
ClosedPublic

Authored by owenpan on Jan 5 2023, 12:12 AM.

Diff Detail

Event Timeline

owenpan created this revision.Jan 5 2023, 12:12 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 5 2023, 12:12 AM
owenpan requested review of this revision.Jan 5 2023, 12:12 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 5 2023, 12:12 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
owenpan edited the summary of this revision. (Show Details)Jan 5 2023, 12:13 AM
MyDeveloperDay accepted this revision.Jan 5 2023, 2:09 AM

I think I've died an gone to heaven!! LGTM... Happy New Year!

This revision is now accepted and ready to land.Jan 5 2023, 2:09 AM

I think I've died an gone to heaven!! LGTM... Happy New Year!

Happy New Year to you too! Thanks to your comment in D19031#1747112, I remembered that I had fixed it even before reporting the bug back in 2018!

clang/unittests/Format/FormatTest.cpp
25125–25126

Will remove them before landing.

This revision was landed with ongoing or failed builds.Jan 5 2023, 3:26 PM
This revision was automatically updated to reflect the committed changes.