diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-06-04 02:53:24 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-06-04 02:53:24 +0000 |
commit | 83cfc5db5e014a04247d8e496524bb6f43e10617 (patch) | |
tree | 864dedf161857329846f959ff76042e9932b74c1 /stp/sat/Heap.h | |
parent | af7594521cd133d438ac494716798d04bcc52b6e (diff) | |
download | klee-83cfc5db5e014a04247d8e496524bb6f43e10617.tar.gz |
Implement simplify_type for ref<>
- This allows dyn_cast<> and friends to be applied to a ref. For example, if (ConstantExpr *CE = dyn_cast<ConstantExpr>(foo)) { ... do something with CE ... } - This makes working with ref<Expr>s much more convenient, with the downside that it hides a potentially dangerous operation. Since the result is not itself a ref<>; clients are resposible for making sure the returned value is only used inside the lifetime of some other ref<>. git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@72839 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'stp/sat/Heap.h')
0 files changed, 0 insertions, 0 deletions