diff options
| author | Justin Lebar <jlebar@google.com> | 2016-09-30 17:14:44 +0000 |
|---|---|---|
| committer | Justin Lebar <jlebar@google.com> | 2016-09-30 17:14:44 +0000 |
| commit | c5ed65ca3049e279e47692435111f30c09bbaa6b (patch) | |
| tree | 058b559c17cc9e746ae7f539942f4d3e964a12cd | |
| parent | 836cbff695fe6e9eba2846f8cb5dd8ad0d11443e (diff) | |
| download | bcm5719-llvm-c5ed65ca3049e279e47692435111f30c09bbaa6b.tar.gz bcm5719-llvm-c5ed65ca3049e279e47692435111f30c09bbaa6b.zip | |
[CUDA] Add missing comment on Sema::CheckCUDAVLA.
llvm-svn: 282878
| -rw-r--r-- | clang/include/clang/Sema/Sema.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/include/clang/Sema/Sema.h b/clang/include/clang/Sema/Sema.h index a95a97712f8..0a08b12d217 100644 --- a/clang/include/clang/Sema/Sema.h +++ b/clang/include/clang/Sema/Sema.h @@ -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 |

