[PATCH] D15858: Warn undeclared identifiers in CUDA kernel calls
Richard Smith via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 6 18:47:42 PST 2016
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
More information about the cfe-commits
mailing list