]> granicus.if.org Git - clang/commit
The OpenCL standard specifies the sizes and alignments of various types than other...
authorDavid Tweed <david.tweed@arm.com>
Mon, 9 Sep 2013 09:17:24 +0000 (09:17 +0000)
committerDavid Tweed <david.tweed@arm.com>
Mon, 9 Sep 2013 09:17:24 +0000 (09:17 +0000)
commit8bc56022db2d9b16aab25ce3b6fccda9dd8991fc
treef6b06f696f8e399e7317fc905d6a1448a067ee68
parent35451d9a00b2a3b40689f6e4d4e259a6d786b395
The OpenCL standard specifies the sizes and alignments of various types than other C-family
languages, as well as specifying errno is not set by the math functions. Make the
clang front-end set those appropriately when the OpenCL language option is set.

Patch by Erik Schnetter!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190296 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/TargetInfo.h
lib/Basic/TargetInfo.cpp
lib/Frontend/CompilerInvocation.cpp