diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-02-08 20:56:50 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-02-08 20:56:50 +0000 |
commit | c70fe353ea52a1dbf13d0b7266e445b3fa1fda66 (patch) | |
tree | 42d57ac1485bdaf08518d405e32caf270dff14f6 /llvm/lib/CodeGen/CodeGen.cpp | |
parent | 21f4692c622fedfecab3571c12b37ce6d72a4c0e (diff) | |
download | llvm-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