summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2007-09-14 22:20:54 +0000
committerSteve Naroff <snaroff@apple.com>2007-09-14 22:20:54 +0000
commitdb47ee203a9eecfbeff427b4f20982b2c41708fa (patch)
treea241126e05f0e5d781fa23c1df130e907939bc9c /llvm/lib/Transforms/Scalar/InstructionCombining.cpp
parent483e1ce16e5bbb651aac7b8a217c881f0872ccaa (diff)
downloadbcm5719-llvm-db47ee203a9eecfbeff427b4f20982b2c41708fa.tar.gz
bcm5719-llvm-db47ee203a9eecfbeff427b4f20982b2c41708fa.zip
Several improvement to Sema::ParseRecordBody()...
- Adding a safer prologue. The previous prologue would accept a null and therefore assume we had an interface (which was incorrect). - Fixed FieldDecl's classof method. This allowed me to simplify some unnecessary casting. - When diagnosing errors, make sure the FieldDecl/EnclosingDecl are marked as invalid. In addition, don't delete the field...rather, add all fields to the enclosing decl. Memory management can/should be done elsewhere. This code was never "upgraded" to the recently added invalid decl strategy. llvm-svn: 41964
Diffstat (limited to 'llvm/lib/Transforms/Scalar/InstructionCombining.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud