]> granicus.if.org Git - clang/commit
Simplifying the OpenCL image attribute. It does not need a semantic integer parameter...
authorAaron Ballman <aaron@aaronballman.com>
Tue, 14 Jan 2014 17:41:53 +0000 (17:41 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Tue, 14 Jan 2014 17:41:53 +0000 (17:41 +0000)
commit3e520c29024437b6dd07d2102918e67223edd6ca
tree9dece4ca21e916cfd6b1226b4194d00f57ed65ed
parentd2076ba11a988f0c767d11f1f6c551c792a407fe
Simplifying the OpenCL image attribute. It does not need a semantic integer parameter because the required information is encoded in the spelling. Added an appropriate subject to the attribute, and simplified the semantic checking (which will likely be expanded upon in a future patch). Also, removed the GNU spelling since it was unsupported in the first place.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199229 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Attr.td
include/clang/Basic/OpenCL.h [deleted file]
lib/CodeGen/CodeGenFunction.cpp
lib/Parse/ParseDecl.cpp
lib/Sema/SemaDeclAttr.cpp
lib/Sema/SemaType.cpp
test/SemaOpenCL/invalid-kernel-attrs.cl