diff options
author | Gauthier Harnisch <tyker1@outlook.com> | 2019-06-21 08:26:21 +0000 |
---|---|---|
committer | Gauthier Harnisch <tyker1@outlook.com> | 2019-06-21 08:26:21 +0000 |
commit | dea9d57d95b94f3305338e4c4123569b1a8f245c (patch) | |
tree | d207e85f6bb0571449d76b98f3faf9305c6b7408 /llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp | |
parent | 38a2f500702323c99c12b0f9dc94670381e2fb90 (diff) | |
download | llvm-dea9d57d95b94f3305338e4c4123569b1a8f245c.zip llvm-dea9d57d95b94f3305338e4c4123569b1a8f245c.tar.gz llvm-dea9d57d95b94f3305338e4c4123569b1a8f245c.tar.bz2 |
[clang] Small improvments after Adding APValue to ConstantExpr
Summary:
this patch has multiple small improvements related to the APValue in ConstantExpr.
changes:
- APValue in ConstantExpr are now cleaned up using ASTContext::addDestruction instead of there own system.
- ConstantExprBits Stores the ValueKind of the result beaing stored.
- VerifyIntegerConstantExpression now stores the evaluated value in ConstantExpr.
- the Constant Evaluator uses the stored value of ConstantExpr when available.
Reviewers: rsmith
Reviewed By: rsmith
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D63376
llvm-svn: 364011
Diffstat (limited to 'llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions