projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
836cbff
)
[CUDA] Add missing comment on Sema::CheckCUDAVLA.
author
Justin Lebar
<jlebar@google.com>
Fri, 30 Sep 2016 17:14:44 +0000
(17:14 +0000)
committer
Justin Lebar
<jlebar@google.com>
Fri, 30 Sep 2016 17:14:44 +0000
(17:14 +0000)
llvm-svn: 282878
clang/include/clang/Sema/Sema.h
patch
|
blob
|
history
diff --git
a/clang/include/clang/Sema/Sema.h
b/clang/include/clang/Sema/Sema.h
index
a95a977
..
0a08b12
100644
(file)
--- 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