]> granicus.if.org Git - clang/commit
[CUDA] Disallow __shared__ variables in host functions.
authorJustin Lebar <jlebar@google.com>
Thu, 13 Oct 2016 18:45:13 +0000 (18:45 +0000)
committerJustin Lebar <jlebar@google.com>
Thu, 13 Oct 2016 18:45:13 +0000 (18:45 +0000)
commita1f58c85829f2c491e9cf32445f8c8287f11d80f
tree84d69937c65f21e9b4645b924eb22cf1eca6ee2a
parentfff8e6c7b6f6f8ebc8c9d8e8282e2f12d1fa565a
[CUDA] Disallow __shared__ variables in host functions.

Reviewers: tra, rnk

Subscribers: cfe-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@284144 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDeclAttr.cpp
test/SemaCUDA/bad-attributes.cu