diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-02-24 22:12:32 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-02-24 22:12:32 +0000 |
| commit | 359c89df5479810c9d4784fc0b6ab592eb136777 (patch) | |
| tree | d8904c4794928f823197cac4abce2e1c1b6d42d5 /lib/CodeGen/CGExprComplex.cpp | |
| parent | f329527bbeae86c8eac6eea6efaa20e807c16679 (diff) | |
| download | clang-359c89df5479810c9d4784fc0b6ab592eb136777.tar.gz clang-359c89df5479810c9d4784fc0b6ab592eb136777.tar.bz2 clang-359c89df5479810c9d4784fc0b6ab592eb136777.tar.xz | |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151399 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprComplex.cpp')
0 files changed, 0 insertions, 0 deletions
