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

Johel Ernesto Guerrero Peña via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 30 16:50:42 PDT 2020


JohelEGP added a comment.

  constexpr plane(const plane& other) noexcept(
      (detail::default_allocator_is_nothrow &&
       std::is_nothrow_copy_constructible_v<T>)) requires(std::copyable<T>)
    : plane{to1d(other), other.sz.w}
  {
  }

Without the parentheses in trailing requires-clauses, all code following the constructor initializer list is further indented.


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

https://reviews.llvm.org/D79773





More information about the cfe-commits mailing list