commit | 8bc56022db2d9b16aab25ce3b6fccda9dd8991fc | [log] [tgz] |
---|---|---|
author | David Tweed <david.tweed@arm.com> | Mon Sep 09 09:17:24 2013 +0000 |
committer | David Tweed <david.tweed@arm.com> | Mon Sep 09 09:17:24 2013 +0000 |
tree | f6b06f696f8e399e7317fc905d6a1448a067ee68 | |
parent | 35451d9a00b2a3b40689f6e4d4e259a6d786b395 [diff] |
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