aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-08-22 17:24:56 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-08-22 17:24:56 +0000
commit0124839d7fb3d846795190ba2ccf3951f27784fe (patch)
tree7478b216ba45fdd2962dcfc0ef5b8c935b50b137 /lib/CodeGen/CodeGenModule.cpp
parent80f775359357f90f34b6adb8104506f13a816a67 (diff)
Fix a crash-on-valid that has been here for a very long time:
const int &x = x; This crashed by inifinetly recursing within the lvalue evaluation routine. I've added a (somewhat) braindead way of preventing this recursion. If folks have better suggestions for how to avoid it I'm all ears. That said, we have some work to do. This doesn't trigger a single warning for uninitialized, self-initialized or otherwise completely wrong code. In some senses, the crash was almost better. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138239 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions