Skip to content
Commit 6365c913 authored by Richard Smith's avatar Richard Smith
Browse files

When checking whether a reference to a variable is an ICE, look at the type of

the declaration, not at the type of the DeclRefExpr, since within a lambda the
DeclRefExpr can be more const than the declaration is.

llvm-svn: 151399
parent 9fceb901
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