https://bugs.llvm.org/show_bug.cgi?id=23118
David Stone <da...@doublewise.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from David Stone <da...@doublewise.net> ---
Fixed in clang 6.0.0
<source>:6:2: error: 'this' argument to member function 'f' is an rvalue, but
function has non-const lvalue ref-qualifier
S{}.f();
^
<source>:2:7: note: 'f' declared here
void f() & {}
^
1 error generated.
Compiler returned: 1
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs