Skip to content
Commit c70fe353 authored by Douglas Gregor's avatar Douglas Gregor
Browse files

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
parent 21f4692c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment