rsmith added inline comments.

================
Comment at: include/clang/AST/ExprCXX.h:180
@@ +179,3 @@
+    assert(
+        !getConfig() &&
+        "CUDAKernelCallExpr.setConfig can only be called once per instance.");
----------------
My preference would be to pass the `CallExpr` constructor an `ArrayRef<Expr*>` 
for the preargs and have it initialize them itself.


http://reviews.llvm.org/D15858



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

Reply via email to