about summary refs log tree commit diff homepage
path: root/stp/sat/Heap.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-06-04 02:53:24 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-06-04 02:53:24 +0000
commit83cfc5db5e014a04247d8e496524bb6f43e10617 (patch)
tree864dedf161857329846f959ff76042e9932b74c1 /stp/sat/Heap.h
parentaf7594521cd133d438ac494716798d04bcc52b6e (diff)
downloadklee-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