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

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 1 04:17:22 PDT 2020


MyDeveloperDay marked an inline comment as done.
MyDeveloperDay added a comment.

In D79773#2124231 <https://reviews.llvm.org/D79773#2124231>, @JohelEGP wrote:

>   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.


Just so I'm clear for this and your Allman coment would you show me what you are seeing and what you expect to see? just so I understand.


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

https://reviews.llvm.org/D79773





More information about the cfe-commits mailing list