diff options
| author | Anastasia Stulova <anastasia.stulova@arm.com> | 2019-05-02 16:10:50 +0000 |
|---|---|---|
| committer | Anastasia Stulova <anastasia.stulova@arm.com> | 2019-05-02 16:10:50 +0000 |
| commit | 26e095e84f0d0348fe27ef13f49fd09440c99a13 (patch) | |
| tree | 17a70a037edea64e5ba32e0cbffab680772beb4b /clang/test/Modules/Inputs/ModuleMapLocations/Module_ModuleMap/module.modulemap | |
| parent | 2f6c579ecb79d125367d39c10d1dec899cb70650 (diff) | |
| download | bcm5719-llvm-26e095e84f0d0348fe27ef13f49fd09440c99a13.tar.gz bcm5719-llvm-26e095e84f0d0348fe27ef13f49fd09440c99a13.zip | |
[OpenCL] Fix initialisation of this via pointer.
When the expression used to initialise 'this' has a pointer type,
check the address space of the pointee type instead of the pointer
type to decide whether an address space cast is required.
It is the pointee type that carries the address space qualifier.
Fixing PR41674.
Patch by kpet (Kevin Petit)!
Differential Revision: https://reviews.llvm.org/D61319
llvm-svn: 359798
Diffstat (limited to 'clang/test/Modules/Inputs/ModuleMapLocations/Module_ModuleMap/module.modulemap')
0 files changed, 0 insertions, 0 deletions

