]> granicus.if.org Git - clang/commit
[CUDA] Add __declspec spellings for CUDA attributes.
authorJustin Lebar <jlebar@google.com>
Thu, 5 Jan 2017 16:53:04 +0000 (16:53 +0000)
committerJustin Lebar <jlebar@google.com>
Thu, 5 Jan 2017 16:53:04 +0000 (16:53 +0000)
commit26ee5b50e74be42381a4c7f9fe17dc4a45770d7b
treee7c0adacee27356bbe4c9f13eebf34fd68676f50
parent9412efe6a6717a166b9b4bc0a6e38b71a402f9a9
[CUDA] Add __declspec spellings for CUDA attributes.

Summary: CUDA attributes are spelled __declspec(__foo__) on Windows.

Reviewers: tra

Subscribers: cfe-commits, rnk

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@291134 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Attr.td
test/SemaCUDA/attr-declspec.cu [new file with mode: 0644]