[PATCH] D138263: [clang-format] Supress aligning of trailing namespace comments

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 26 06:55:20 PDT 2023


MyDeveloperDay added a comment.

In D138263#3936536 <https://reviews.llvm.org/D138263#3936536>, @HazardyKnusperkeks wrote:

> In D138263#3936007 <https://reviews.llvm.org/D138263#3936007>, @owenpan wrote:
>
>> I suppose it's fairly easy to annotate the `l_brace` of a namespace? If so, then wouldn't it be better to do that?
>
> But the `r_brace` has no `MatchingParen`, and I didn't want to go into that hole.

How many times has that caught you out though?....I could have used this SO many times to constraint stuff... I wonder how painful a BraceMatchingPass would be, labelling all BraceTypes to Match each others.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D138263/new/

https://reviews.llvm.org/D138263



More information about the cfe-commits mailing list