summaryrefslogtreecommitdiffstats
path: root/clang/lib/Tooling/Syntax
diff options
context:
space:
mode:
authorAnastasia Stulova <anastasia.stulova@arm.com>2019-12-03 12:55:50 +0000
committerAnastasia Stulova <anastasia.stulova@arm.com>2019-12-03 16:07:18 +0000
commit980133a2098cf6159785b8ac0cbe4d8fbf99bfea (patch)
treeada2bd59d4cf1f008b1e5553a41204b55f747395 /clang/lib/Tooling/Syntax
parent62827737acd878af6cd8930758b0d6f297173f40 (diff)
downloadbcm5719-llvm-980133a2098cf6159785b8ac0cbe4d8fbf99bfea.tar.gz
bcm5719-llvm-980133a2098cf6159785b8ac0cbe4d8fbf99bfea.zip
[OpenCL] Use generic addr space for lambda call operator
Since lambdas are represented by callable objects, we add generic addr space for implicit object parameter in call operator. Any lambda variable declared in __constant addr space (which is not convertible to generic) fails to compile with a diagnostic. To support constant addr space we need to add a way to qualify the lambda call operators. Tags: #clang Differential Revision: https://reviews.llvm.org/D69938
Diffstat (limited to 'clang/lib/Tooling/Syntax')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud