ChuanqiXu added a comment.

Here is my thought:

- Should we warn for this situation? Yes, on the on hand, it behaves 
differently with normal users imaged. A assistant reason would be that GCC 
would warn for the case too.
- Is the warning message good? I think it at least not worse than what GCC does 
in this case. Secondly, I think most users wouldn't and shouldn't know about 
the implementation details of coroutine like ramp functions and so on. It is 
not true that I don't want tell things precisely. But precision brings burden 
to users, which is what I want to avoid.

@Quuxplusone @aaron.ballman (I saw you are added as reviewer by herald script) 
any thought?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D115867/new/

https://reviews.llvm.org/D115867

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

Reply via email to