[libcxx-commits] [PATCH] D118668: [libc++][NFC] Add namespace comments in ranges
Nikolas Klauser via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Jan 31 16:56:39 PST 2022
philnik added inline comments.
================
Comment at: libcxx/include/__ranges/reverse_view.h:117
template<class _Tp>
constexpr bool __is_reverse_view<reverse_view<_Tp>> = true;
----------------
Here, in line 123 and line 129 clang-tidy claims these definitions can lead to ODR-violations. Is inline implied by it being a template or something else and therefore this is a clang-tidy bug or is this actually potentially an ODR-violation and this is a libc++ bug?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118668/new/
https://reviews.llvm.org/D118668
More information about the libcxx-commits
mailing list