Artem-B wrote:

> maybe we can just add a marking to the constructor to allow it to be 
> constant-evaluated?

I think the idea makes a lot of sense. We already require C++11 for CUDA, so if 
a constructor can be evaluated and proven to be "empty", it should be good 
enough without special-casing anything.

https://github.com/llvm/llvm-project/pull/222985
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to