]> granicus.if.org Git - clang/commit
Recommit r289979 [OpenCL] Allow disabling types and declarations associated with...
authorYaxun Liu <Yaxun.Liu@amd.com>
Sun, 18 Dec 2016 05:18:55 +0000 (05:18 +0000)
committerYaxun Liu <Yaxun.Liu@amd.com>
Sun, 18 Dec 2016 05:18:55 +0000 (05:18 +0000)
commitc6fb598a301143e9d21156a012cc6ef669ff0188
tree97a4e43faff52dc33a182642cbae3ed7e318165f
parent2c7cf6d8125fa8c2905f1b683ce3dd327997448b
Recommit r289979 [OpenCL] Allow disabling types and declarations associated with extensions

Fixed undefined behavior due to cast integer to bool in initializer list.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@290056 91177308-0d34-0410-b5e6-96231b3b80d8
29 files changed:
include/clang/Basic/DiagnosticParseKinds.td
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Basic/OpenCLImageTypes.def
include/clang/Basic/OpenCLOptions.h
include/clang/Basic/TargetInfo.h
include/clang/Sema/Overload.h
include/clang/Sema/Sema.h
include/clang/Serialization/ASTBitCodes.h
include/clang/Serialization/ASTReader.h
include/clang/Serialization/ASTWriter.h
lib/Basic/Targets.cpp
lib/Frontend/InitPreprocessor.cpp
lib/Headers/opencl-c.h
lib/Parse/ParsePragma.cpp
lib/Parse/Parser.cpp
lib/Sema/DeclSpec.cpp
lib/Sema/Sema.cpp
lib/Sema/SemaCast.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaOverload.cpp
lib/Sema/SemaType.cpp
lib/Serialization/ASTReader.cpp
lib/Serialization/ASTWriter.cpp
test/CodeGenOpenCL/extension-begin.cl [new file with mode: 0644]
test/Parser/opencl-atomics-cl20.cl
test/Parser/opencl-pragma.cl
test/SemaOpenCL/extension-begin.cl [new file with mode: 0644]
test/SemaOpenCL/extensions.cl