summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/command_regex
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2015-12-15 06:11:36 +0000
committerCraig Topper <craig.topper@gmail.com>2015-12-15 06:11:36 +0000
commitcc03b49444cf9053a111c211227d5574354dd8b8 (patch)
treeb1be9ad06bd8a8fcf7acdaa5f837d3d0166f57e5 /lldb/packages/Python/lldbsuite/test/functionalities/command_regex
parent1c3f28313ed0f0282c5a4f339611a15cca61bfdd (diff)
downloadbcm5719-llvm-cc03b49444cf9053a111c211227d5574354dd8b8.tar.gz
bcm5719-llvm-cc03b49444cf9053a111c211227d5574354dd8b8.zip
[IR] Add classof for GetElementPtrConstantExpr, CompareConstantExpr, InsertValueConstantExpr, and ExtractValueConstantExpr. All but CompareConstantExpr were being used in casts that were erroneously using ConstantExpr::classof due to inheritance. While there use cast<CompareConstantExpr> to simplify code slightly.
I believe in one place we were always casting to ExtractValueConstantExpr when we were trying to choose between ExtractValueConstantExpr and InsertValueConstantExpr because of this. But since they have identical layouts this didn't cause any observable problems. llvm-svn: 255624
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/command_regex')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud