[PATCH] D118847: Added early exit for defaulted FunctionDecls.
Fabian Keßler via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 9 04:18:04 PST 2022
Febbe added inline comments.
================
Comment at: clang-tools-extra/test/clang-tidy/checkers/modernize-use-trailing-return-type-cxx20.cpp:71
+ template <typename T>
+ requires(T{0}) //
+ friend constexpr auto
----------------
kbobyrev wrote:
> nit: `//` looks unrelated
I used the `//` to break the line there (avoids // clang-format off/on)
in my opinion, it should look like this:
`template <typename T> requires(T{0}) \n`
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118847/new/
https://reviews.llvm.org/D118847
More information about the cfe-commits
mailing list