This is an archive of the discontinued LLVM Phabricator instance.

[clang-format] Fix namespace end comments fixer with anonymous namespaces.
ClosedPublic

Authored by curdeius on Jan 14 2022, 12:35 AM.

Details

Summary

Previously, a strange trailing comment was produced:

namespace out { namespace {
}} // namespace out::

(mind the "out::").

Diff Detail

Event Timeline

curdeius requested review of this revision.Jan 14 2022, 12:35 AM
curdeius created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptJan 14 2022, 12:35 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
This revision is now accepted and ready to land.Jan 14 2022, 12:37 AM
owenpan accepted this revision.Jan 14 2022, 12:53 AM
This revision was landed with ongoing or failed builds.Jan 14 2022, 2:41 AM
This revision was automatically updated to reflect the committed changes.