[PATCH] D79773: [clang-format] Improve clang-formats handling of concepts

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 20 08:43:20 PDT 2020


MyDeveloperDay added a comment.

In D79773#2046833 <https://reviews.llvm.org/D79773#2046833>, @miscco wrote:

> It seems the spacing of the binary operator is not yet stable. This test is breaking for me:
>
>   verifyFormat("template <typename T>\nconcept someConcept = Constraint1<T> && Constraint2<T>;");
>


Hmm... are you upto date

  $ ./FormatTests.exe --gtest_filter=*Concept*
  Note: Google Test filter = *Concept*
  [==========] Running 1 test from 1 test case.
  [----------] Global test environment set-up.
  [----------] 1 test from FormatTest
  [ RUN      ] FormatTest.ConceptsAndRequires
  [       OK ] FormatTest.ConceptsAndRequires (642 ms)
  [----------] 1 test from FormatTest (645 ms total)
  
  [----------] Global test environment tear-down
  [==========] 1 test from 1 test case ran. (650 ms total)
  [  PASSED  ] 1 test.


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

https://reviews.llvm.org/D79773





More information about the cfe-commits mailing list