GorNishanov added a comment.

In https://reviews.llvm.org/D41820#974116, @EricWF wrote:

> Is this behavior specified somewhere? Or are we simply adding an extension to 
> Clang? If so I would really prefer to add my `co_promise` solution (but I 
> need to write a paper in favor of it first).


Before bringing the language change proposal, it makes sense to implement the 
feature and test it out on real examples.  MSVC compiler implemented a number 
of coroutine features to do sanity testing and put in the customers hands 
before a feature was proposed.

Since this is a non-breaking change, I think it makes sense to put it in and 
play with it. This particular approach was talked about since 2014, but, no 
formal proposal was made. I am bringing the paper to upcoming Jacksonville 
meeting and would like to make sure that we have both implementation and usage 
experience for the feature.


Repository:
  rC Clang

https://reviews.llvm.org/D41820



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

Reply via email to