aboutsummaryrefslogtreecommitdiff
path: root/test/SemaCXX/lambda-expressions.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-02-08 20:56:50 +0000
committerDouglas Gregor <dgregor@apple.com>2012-02-08 20:56:50 +0000
commit1e3767ac5449db6a1ede192d5e4217e34fa61f26 (patch)
tree9332829d73de14da542d4117980e904a1a72834c /test/SemaCXX/lambda-expressions.cpp
parent76e3da57b0e8cf72d221f44d54566ef206341668 (diff)
When computing the type of a local variable reference within a lambda,
only add 'const' for variables captured by copy in potentially evaluated expressions of non-mutable lambdas. (The "by copy" part was missing). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150088 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaCXX/lambda-expressions.cpp')
0 files changed, 0 insertions, 0 deletions