]> granicus.if.org Git - clang/commit
Add some semantic checks for OpenCL. Variadic macros, VLAs and bitfields are not...
authorJoey Gouly <joey.gouly@arm.com>
Thu, 17 Jan 2013 17:35:00 +0000 (17:35 +0000)
committerJoey Gouly <joey.gouly@arm.com>
Thu, 17 Jan 2013 17:35:00 +0000 (17:35 +0000)
commit617bb317a7aeb6c3468a4170a5d6c1058da7cea1
tree64f183c0cf6c88a6d8d8d96feee5101f732c395e
parent5096a44f2ec5ab9e5b801424e04919f4fcf29f1d
Add some semantic checks for OpenCL. Variadic macros, VLAs and bitfields are not supported.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172732 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticLexKinds.td
include/clang/Basic/DiagnosticSemaKinds.td
lib/Lex/PPDirectives.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaType.cpp
test/Preprocessor/macro_variadic.cl [new file with mode: 0644]
test/SemaOpenCL/unsupported.cl [new file with mode: 0644]