]> granicus.if.org Git - clang/commit
[CUDA] Disallow variable-length arrays in CUDA device code.
authorJustin Lebar <jlebar@google.com>
Wed, 28 Sep 2016 22:45:58 +0000 (22:45 +0000)
committerJustin Lebar <jlebar@google.com>
Wed, 28 Sep 2016 22:45:58 +0000 (22:45 +0000)
commite5804c1ee47f3bda8ef7cf36ddee13cbdfe0dc19
treecdd16687e6015fca014c24e67c38cbe50ca0b33a
parent6d0bdd7405b36e6823250610cff42512dee14119
[CUDA] Disallow variable-length arrays in CUDA device code.

Reviewers: tra

Subscribers: cfe-commits, jhen

Differential Revision: https://reviews.llvm.org/D25050

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@282647 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/Sema.h
lib/Sema/SemaCUDA.cpp
lib/Sema/SemaType.cpp
test/SemaCUDA/vla-host-device.cu [new file with mode: 0644]
test/SemaCUDA/vla.cu [new file with mode: 0644]