GorNishanov added inline comments.

================
Comment at: include/clang/Basic/DiagnosticSemaKinds.td:9053
   "a coroutine">;
+def note_coroutine_types_for_traits_here : Note<
+  "the coroutine traits class template is being instantiated using the return "
----------------
I am wondering what is the use case here.
Is it to guard against badly designed standard library?

I played around a little and tried to see how I could get to trigger this error 
with a user-code, but, failed. If I did not specify enough parameters it will 
default to primary template defined in the <experimental/coroutine>


Repository:
  rC Clang

https://reviews.llvm.org/D48863



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to