mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 07:31:28 +00:00
Moved body of methods dump to .cpp file to fix compilation when modules
are enabled llvm-svn: 356994
This commit is contained in:
parent
9876addcf4
commit
25f9094d89
@ -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,7 @@ 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
Block a user