diff options
author | Alexey Bader <alexey.bader@intel.com> | 2018-06-20 08:31:24 +0000 |
---|---|---|
committer | Alexey Bader <alexey.bader@intel.com> | 2018-06-20 08:31:24 +0000 |
commit | f29d777f847b2a3d0aec2a499490fa34815fc918 (patch) | |
tree | ebb1e91f9f98b7b4ef981932abdd2859df09e4ed /lldb/packages/Python/lldbsuite/test/python_api/process | |
parent | 16662f3c6ea9bd5cb3459b6ad71d52037f4b397a (diff) | |
download | bcm5719-llvm-f29d777f847b2a3d0aec2a499490fa34815fc918.tar.gz bcm5719-llvm-f29d777f847b2a3d0aec2a499490fa34815fc918.zip |
[Sema] Allow creating types with multiple of the same addrspace.
Summary:
The comment with the OpenCL clause about this clearly
says: "No type shall be qualified by qualifiers for
two or more different address spaces."
This must mean that two or more qualifiers for the
_same_ address space is allowed. However, it is
likely unintended by the programmer, so emit a
warning.
For dependent address space types, reject them like
before since we cannot know what the address space
will be.
Patch by Bevin Hansson (ebevhan).
Reviewers: Anastasia
Reviewed By: Anastasia
Subscribers: bader, cfe-commits
Differential Revision: https://reviews.llvm.org/D47630
llvm-svn: 335103
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process')
0 files changed, 0 insertions, 0 deletions