]> granicus.if.org Git - clang/commit
[OpenCL] Enable address spaces for references in C++
authorAnastasia Stulova <anastasia.stulova@arm.com>
Fri, 16 Nov 2018 16:22:56 +0000 (16:22 +0000)
committerAnastasia Stulova <anastasia.stulova@arm.com>
Fri, 16 Nov 2018 16:22:56 +0000 (16:22 +0000)
commitb6508aa4110621b4c5441dd67013cee4ec0d3036
tree1652c7db8cd5af1be6079f8972b42f7b6a526615
parent59e40fbc67abf5f59b408d83bab2e33e1fe0eb17
[OpenCL] Enable address spaces for references in C++

Added references to the addr spaces deduction and enabled
CL2.0 features (program scope variables and storage class
qualifiers) to work in C++ mode too.

Fixed several address space conversion issues in CodeGen
for references.

Differential Revision: https://reviews.llvm.org/D53764

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@347059 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Sema.h
lib/AST/Expr.cpp
lib/CodeGen/CGExpr.cpp
lib/Sema/DeclSpec.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaExprCXX.cpp
lib/Sema/SemaInit.cpp
lib/Sema/SemaType.cpp
test/CodeGenOpenCLCXX/address-space-deduction.cl [new file with mode: 0644]