This is an archive of the discontinued LLVM Phabricator instance.

[clang-format] Insert namespace comments with leading spaces
ClosedPublic

Authored by owenpan on Jul 23 2023, 1:57 PM.

Details

Summary

Insert missing namespace comments with SpacesBeforeTrailingComments leading spaces.

Fixes https://github.com/llvm/llvm-project/issues/64051.

Diff Detail

Event Timeline

owenpan created this revision.Jul 23 2023, 1:57 PM
Herald added projects: Restricted Project, Restricted Project, Restricted Project. · View Herald TranscriptJul 23 2023, 1:57 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
clang/unittests/Format/NamespaceEndCommentsFixerTest.cpp
29

I'd rather fix all the tests.

owenpan updated this revision to Diff 543415.Jul 24 2023, 1:51 AM

Fixed unit tests in NamespaceEndCommentsFixerTest.cpp.

owenpan marked an inline comment as done.Jul 24 2023, 1:52 AM
This revision is now accepted and ready to land.Jul 24 2023, 3:46 AM
MyDeveloperDay accepted this revision.Jul 24 2023, 4:41 AM