llvm-mc: Add MCExpr::{dump,print}.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80570 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar
2009-08-31 08:07:33 +00:00
parent 9643ac5514
commit 87392fde1f
2 changed files with 75 additions and 0 deletions
+8
View File
@@ -17,6 +17,7 @@ namespace llvm {
class MCContext;
class MCSymbol;
class MCValue;
class raw_ostream;
/// MCExpr - Base class for the full range of assembler expressions which are
/// needed for parsing.
@@ -44,6 +45,13 @@ public:
ExprKind getKind() const { return Kind; }
/// @}
/// @name Utility Methods
/// @{
void print(raw_ostream &OS) const;
void dump() const;
/// @}
/// @name Expression Evaluation
/// @{