tra added inline comments. ================ Comment at: lib/CodeGen/CGDeclCXX.cpp:329 @@ +328,3 @@ + for (const CXXCtorInitializer *CI: CD->inits()) + if (CI->isAnyMemberInitializer() && CI->isWritten()) + return false; ---------------- @rsmith: is this a good way to find member initializer list items?
``` struct S { int a,b,c; S() : a(1),b(2),c(3) {} }; ``` I'm looking for a(),b(),c() which is what I think CUDA spec wants to check for, but CD->inits() appears to have other initializers on the list as well. http://reviews.llvm.org/D15305 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits