aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.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
commitc70fe353ea52a1dbf13d0b7266e445b3fa1fda66 (patch)
tree42d57ac1485bdaf08518d405e32caf270dff14f6 /llvm/lib/CodeGen/CodeGen.cpp
parent21f4692c622fedfecab3571c12b37ce6d72a4c0e (diff)
downloadllvm-c70fe353ea52a1dbf13d0b7266e445b3fa1fda66.zip
llvm-c70fe353ea52a1dbf13d0b7266e445b3fa1fda66.tar.gz
llvm-c70fe353ea52a1dbf13d0b7266e445b3fa1fda66.tar.bz2
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). llvm-svn: 150088
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions