diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-06-14 19:52:43 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-06-14 19:52:43 +0000 |
commit | 793fbf410c1929430844b3afdbc160492c6ff9e6 (patch) | |
tree | 8afe64e3e67bd57a39ca3d42a775f00b04e98f7b /include/expr | |
parent | c41f2b578c196fc7eba031747c41c3358f338905 (diff) | |
download | klee-793fbf410c1929430844b3afdbc160492c6ff9e6.tar.gz |
Use ExprBuilder for constructing expressions in the Parser.
git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@73345 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/expr')
-rw-r--r-- | include/expr/Parser.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/expr/Parser.h b/include/expr/Parser.h index f67e27ab..d2135f12 100644 --- a/include/expr/Parser.h +++ b/include/expr/Parser.h @@ -20,6 +20,8 @@ namespace llvm { } namespace klee { + class ExprBuilder; + namespace expr { // These are the language types we manipulate. typedef ref<Expr> ExprHandle; @@ -223,8 +225,12 @@ namespace expr { /// MemoryBuffer. /// /// \arg Name - The name to use in diagnostic messages. + /// \arg MB - The input data. + /// \arg Builder - The expression builder to use for constructing + /// expressions. static Parser *Create(const std::string Name, - const llvm::MemoryBuffer *MB); + const llvm::MemoryBuffer *MB, + ExprBuilder *Builder); }; } } |