diff options
| author | Anastasia Stulova <anastasia.stulova@arm.com> | 2018-12-05 17:02:22 +0000 |
|---|---|---|
| committer | Anastasia Stulova <anastasia.stulova@arm.com> | 2018-12-05 17:02:22 +0000 |
| commit | 12e3a8af81da5f55381a47fada6f76a63ca735ce (patch) | |
| tree | f5f746686518c16a19617550fc097056c4c12f55 /clang/lib/CodeGen/CGCall.cpp | |
| parent | 4ead99b3ac2a0ccd5174c35bcf339eb080dd9697 (diff) | |
| download | bcm5719-llvm-12e3a8af81da5f55381a47fada6f76a63ca735ce.tar.gz bcm5719-llvm-12e3a8af81da5f55381a47fada6f76a63ca735ce.zip | |
[OpenCL] Diagnose conflicting address spaces in templates.
Added new diagnostic when templates are instantiated with
different address space from the one provided in its definition.
This also prevents deducing generic address space in pointer
type of templates to allow giving them concrete address space
during instantiation.
Differential Revision: https://reviews.llvm.org/D55127
llvm-svn: 348382
Diffstat (limited to 'clang/lib/CodeGen/CGCall.cpp')
0 files changed, 0 insertions, 0 deletions

