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)
commit1d58cdbf4e1737438f0cf94a3d6f827c1b03a39f
treea0903c92afa6131fef22c2e2c9ec638a9bc099f2
parent80a82761bde1fee351c6a7381f439ba8b6213198
Add some semantic checks for OpenCL. Variadic macros, VLAs and bitfields are not supported.

llvm-svn: 172732
clang/include/clang/Basic/DiagnosticLexKinds.td
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Lex/PPDirectives.cpp
clang/lib/Sema/SemaDecl.cpp
clang/lib/Sema/SemaType.cpp
clang/test/Preprocessor/macro_variadic.cl [new file with mode: 0644]
clang/test/SemaOpenCL/unsupported.cl [new file with mode: 0644]