]> granicus.if.org Git - clang/commit
[CUDA] Reject the alias attribute in CUDA device code.
authorJustin Lebar <jlebar@google.com>
Sat, 23 Jan 2016 21:28:10 +0000 (21:28 +0000)
committerJustin Lebar <jlebar@google.com>
Sat, 23 Jan 2016 21:28:10 +0000 (21:28 +0000)
commit937c06abd5e259157501073fd17b99e9bf28ded6
tree34d19b2db1a3d3d2783d2ea6e3a10331dd36d8e5
parent5659b4414899c43c73553f5e68d5db671800bb71
[CUDA] Reject the alias attribute in CUDA device code.

Summary: CUDA (well, strictly speaking, NVPTX) doesn't support aliases.

Reviewers: echristo

Subscribers: cfe-commits, jhen, tra

Differential Revision: http://reviews.llvm.org/D16502

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