about summary refs log tree commit diff homepage
path: root/include
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-06-05 05:39:57 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-06-05 05:39:57 +0000
commit601877c638420b1c32a0ea49a0ec43c952529bab (patch)
treec3e0331bbd443fab2bbf28082e52b8bb35bb59df /include
parent1d168e4a14349eca7125ea508f8f219fad66508a (diff)
downloadklee-601877c638420b1c32a0ea49a0ec43c952529bab.tar.gz
Expr::print shouldn't introduce line breaks or extra formatting.
git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@72921 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/klee/util/ExprPPrinter.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/klee/util/ExprPPrinter.h b/include/klee/util/ExprPPrinter.h
index a1961e2b..63e6611d 100644
--- a/include/klee/util/ExprPPrinter.h
+++ b/include/klee/util/ExprPPrinter.h
@@ -42,9 +42,20 @@ namespace klee {
         scan(*it);
     }
 
+    /// printOne - Pretty print a single expression prefixed by a
+    /// message and followed by a line break.
     static void printOne(std::ostream &os, const char *message, 
                          const ref<Expr> &e);
 
+    /// printSingleExpr - Pretty print a single expression.
+    ///
+    /// The expression will not be followed by a line break.
+    ///
+    /// Note that if the output stream is not positioned at the
+    /// beginning of a line then printing will not resume at the
+    /// correct position following any output line breaks.
+    static void printSingleExpr(std::ostream &os, const ref<Expr> &e);
+
     static void printConstraints(std::ostream &os,
                                  const ConstraintManager &constraints);