[llvm-bugs] [Bug 44505] -Wdocumentation for enum template param
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Jul 26 09:53:15 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=44505
Mark de Wever <koraq at xs4all.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|NEW |RESOLVED
--- Comment #1 from Mark de Wever <koraq at xs4all.nl> ---
The problem seems to be the template parameter MyEnum is unnamed. Using
enum struct MyEnum { A, B, C };
//! \tparam MyEnum this is a warning
template< MyEnum MyEnum > struct A {};
fixes the issue. See
https://godbolt.org/z/KEv1br
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200726/f0745518/attachment.html>
More information about the llvm-bugs
mailing list