diff options
author | Anastasia Stulova <anastasia.stulova@arm.com> | 2014-11-26 15:36:41 +0000 |
---|---|---|
committer | Anastasia Stulova <anastasia.stulova@arm.com> | 2014-11-26 15:36:41 +0000 |
commit | 5d8ad8a7b8911308a531ad87e8284088ea7f8002 (patch) | |
tree | d9a72c7d8fe4ccd9d890d167c6e30539d447d685 /clang/unittests/Format/FormatTestJava.cpp | |
parent | 9fb411431d4df41f562008fc4580230fc2ee4362 (diff) | |
download | llvm-5d8ad8a7b8911308a531ad87e8284088ea7f8002.zip llvm-5d8ad8a7b8911308a531ad87e8284088ea7f8002.tar.gz llvm-5d8ad8a7b8911308a531ad87e8284088ea7f8002.tar.bz2 |
[OpenCL] Implemented restrictions for pointer conversions specified in OpenCL v2.0.
OpenCL v2.0 s6.5.5 restricts conversion of pointers to different address spaces:
- the named address spaces (__global, __local, and __private) => __generic - implicitly converted;
- __generic => named - with an explicit cast;
- named <=> named - disallowed;
- __constant <=> any other - disallowed.
llvm-svn: 222834
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
0 files changed, 0 insertions, 0 deletions