https://bugs.llvm.org/show_bug.cgi?id=26962
Serge Pavlov <sepavl...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sepavl...@gmail.com
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #1 from Serge Pavlov <sepavl...@gmail.com> ---
It seems this problem has already been fixed, ToT (r309118) produces:
26962.cpp:13:36: warning: control reaches end of non-void function
[-Wreturn-type]
std::shared_ptr<A<0>> foo() {}
^
26962.cpp:19:10: note: in instantiation of function template specialization
'hydi::foo<double>' requested
here
*hydi::foo();
^
1 warning generated.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs