summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorJustin Lebar <jlebar@google.com>2016-01-14 23:31:30 +0000
committerJustin Lebar <jlebar@google.com>2016-01-14 23:31:30 +0000
commitf8bdacbadc794a83da5862d28f5dcff4331bbcb0 (patch)
treeec81fb7457c85132667a9deaedf66db1490b0c22 /llvm/lib
parentac1e2f8f03e3248da730c02d2a27292dac99fa68 (diff)
downloadbcm5719-llvm-f8bdacbadc794a83da5862d28f5dcff4331bbcb0.tar.gz
bcm5719-llvm-f8bdacbadc794a83da5862d28f5dcff4331bbcb0.zip
[CUDA] Warn undeclared identifiers in CUDA kernel calls
Value, type, and instantiation dependence were not being handled correctly for CUDAKernelCallExpr AST nodes. As a result, if an undeclared identifier was used in the triple-angle-bracket kernel call configuration, there would be no error during parsing, and there would be a crash during code gen. This patch makes sure that an error will be issued during parsing in this case, just as there would be for any other use of an undeclared identifier in C++. Patch by Jason Henline. Reviewers: jlebar, rsmith Differential Revision: http://reviews.llvm.org/D15858 llvm-svn: 257839
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud