[PATCH] D60374: clang-format incorrectly indents wrapped closing parenthesis

Owen Pan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 7 12:37:29 PDT 2019


owenpan added a comment.

In D60374#1457639 <https://reviews.llvm.org/D60374#1457639>, @MyDeveloperDay wrote:

> maybe add the following as a test because I think it shows the inconsistency
>
>   void Foo::bar( // some comment
>   ) {}
>  
>   void Foo::bar( // some comment
>   ) const {}
>


I had the `setter` code in the new test case to show the inconsistency but then took it out; I don't want to add a (possible) duplicate even though I didn't find the test case for Lines 953-957 of `ContinuationIndenter.cpp`. I will put my `setter` test case back in.


Repository:
  rC Clang

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

https://reviews.llvm.org/D60374





More information about the cfe-commits mailing list