]> granicus.if.org Git - clang/commit
[OpenCL] Added nosvm attribute for OpenCL v2.0.
authorAnastasia Stulova <anastasia.stulova@arm.com>
Thu, 31 Mar 2016 11:07:22 +0000 (11:07 +0000)
committerAnastasia Stulova <anastasia.stulova@arm.com>
Thu, 31 Mar 2016 11:07:22 +0000 (11:07 +0000)
commitf2ac35e3134d20de074567ead93f69ede407cfb5
tree34056b0d56b1301f1cf698ec37b04d21fec743c6
parent4364dc24d8492f0c312d05548acaefdef70b3653
[OpenCL] Added nosvm attribute for OpenCL v2.0.

It is not widely used and removed from OpenCL v2.1.

This change modifies Clang to parse the attribute for OpenCL
but ignores it afterwards.

Patch by Liu Yaxun (Sam)!

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@265006 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Attr.td
include/clang/Basic/AttrDocs.td
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDeclAttr.cpp
lib/Sema/SemaStmtAttr.cpp
test/SemaOpenCL/nosvm.cl [new file with mode: 0644]