diff options
Diffstat (limited to 'tools/llvm-mc/AsmParser.h')
-rw-r--r-- | tools/llvm-mc/AsmParser.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/llvm-mc/AsmParser.h b/tools/llvm-mc/AsmParser.h index 99e5bbede5..c7b7316d63 100644 --- a/tools/llvm-mc/AsmParser.h +++ b/tools/llvm-mc/AsmParser.h @@ -66,7 +66,7 @@ public: virtual bool Error(SMLoc L, const Twine &Msg); - virtual bool ParseExpression(MCExpr *&Res); + virtual bool ParseExpression(const MCExpr *&Res); virtual bool ParseAbsoluteExpression(int64_t &Res); @@ -104,9 +104,9 @@ private: /// @see ParseRelocatableExpression, ParseParenExpr. bool ParseParenRelocatableExpression(MCValue &Res); - bool ParsePrimaryExpr(MCExpr *&Res); - bool ParseBinOpRHS(unsigned Precedence, MCExpr *&Res); - bool ParseParenExpr(MCExpr *&Res); + bool ParsePrimaryExpr(const MCExpr *&Res); + bool ParseBinOpRHS(unsigned Precedence, const MCExpr *&Res); + bool ParseParenExpr(const MCExpr *&Res); /// ParseIdentifier - Parse an identifier or string (as a quoted identifier) /// and set \arg Res to the identifier contents. |