forked from OSchip/llvm-project
Move SMTSolver dump() methods out-of-line.
This broke modularized non-local-submodule-visibility builds because the function bodies pulled in extra dependencies. llvm-svn: 353465
This commit is contained in:
parent
9d7e86a978
commit
e794db8817
|
@ -70,7 +70,7 @@ public:
|
|||
|
||||
virtual void print(raw_ostream &OS) const = 0;
|
||||
|
||||
LLVM_DUMP_METHOD void dump() const { print(llvm::errs()); }
|
||||
LLVM_DUMP_METHOD void dump() const;
|
||||
|
||||
protected:
|
||||
/// Query the SMT solver and returns true if two sorts are equal (same kind
|
||||
|
@ -117,7 +117,7 @@ public:
|
|||
|
||||
virtual void print(raw_ostream &OS) const = 0;
|
||||
|
||||
LLVM_DUMP_METHOD void dump() const { print(llvm::errs()); }
|
||||
LLVM_DUMP_METHOD void dump() const;
|
||||
|
||||
protected:
|
||||
/// Query the SMT solver and returns true if two sorts are equal (same kind
|
||||
|
@ -138,7 +138,7 @@ public:
|
|||
SMTSolver() = default;
|
||||
virtual ~SMTSolver() = default;
|
||||
|
||||
LLVM_DUMP_METHOD void dump() const { print(llvm::errs()); }
|
||||
LLVM_DUMP_METHOD void dump() const;
|
||||
|
||||
// Returns an appropriate floating-point sort for the given bitwidth.
|
||||
SMTSortRef getFloatSort(unsigned BitWidth) {
|
||||
|
|
|
@ -824,3 +824,9 @@ llvm::SMTSolverRef llvm::CreateZ3Solver() {
|
|||
return nullptr;
|
||||
#endif
|
||||
}
|
||||
|
||||
LLVM_DUMP_METHOD void SMTSort::dump() const { print(llvm::errs()); }
|
||||
LLVM_DUMP_METHOD void SMTExpr::dump() const { print(llvm::errs()); }
|
||||
LLVM_DUMP_METHOD void SMTSolver::dump() const { print(llvm::errs()); }
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue