Author: jlebar Date: Fri Sep 30 12:14:44 2016 New Revision: 282878 URL: http://llvm.org/viewvc/llvm-project?rev=282878&view=rev Log: [CUDA] Add missing comment on Sema::CheckCUDAVLA.
Modified: cfe/trunk/include/clang/Sema/Sema.h Modified: cfe/trunk/include/clang/Sema/Sema.h URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Sema/Sema.h?rev=282878&r1=282877&r2=282878&view=diff ============================================================================== --- cfe/trunk/include/clang/Sema/Sema.h (original) +++ cfe/trunk/include/clang/Sema/Sema.h Fri Sep 30 12:14:44 2016 @@ -9259,6 +9259,9 @@ public: /// ExprTy should be the string "try" or "throw", as appropriate. bool CheckCUDAExceptionExpr(SourceLocation Loc, StringRef ExprTy); + /// Check whether it's legal for us to create a variable-length array in the + /// current context. Returns true if the VLA is OK; returns false and emits + /// an error otherwise. bool CheckCUDAVLA(SourceLocation Loc); /// Finds a function in \p Matches with highest calling priority _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits