aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/BackendUtil.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-02-24 22:12:32 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-02-24 22:12:32 +0000
commit359c89df5479810c9d4784fc0b6ab592eb136777 (patch)
treed8904c4794928f823197cac4abce2e1c1b6d42d5 /lib/CodeGen/BackendUtil.cpp
parentf329527bbeae86c8eac6eea6efaa20e807c16679 (diff)
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/BackendUtil.cpp')
0 files changed, 0 insertions, 0 deletions