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

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 7 00:48:46 PDT 2020


MyDeveloperDay added a comment.

https://reviews.llvm.org/D79773#2131680 has something to do with your .clang-format file, the base LLVM style seems fine.

  template <typename T>
  concept bool EqualityComparable = requires(T a, T b) {
      { a == b } -> bool;
  };

vs

  template <typename T>
  concept bool EqualityComparable = requires(T a, T b)
  {
      {
          a == b
          } -> bool;
  };

>From what I can tell its because of the "BreakBeforeBraces: Allman or GNU" styles.


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

https://reviews.llvm.org/D79773





More information about the cfe-commits mailing list