[CUDA] Add missing comment on Sema::CheckCUDAVLA.
authorJustin Lebar <jlebar@google.com>
Fri, 30 Sep 2016 17:14:44 +0000 (17:14 +0000)
committerJustin Lebar <jlebar@google.com>
Fri, 30 Sep 2016 17:14:44 +0000 (17:14 +0000)
llvm-svn: 282878

clang/include/clang/Sema/Sema.h

index a95a977..0a08b12 100644 (file)
@@ -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