diff options
Diffstat (limited to 'llvm/tools/llvm-mc/AsmParser.h')
| -rw-r--r-- | llvm/tools/llvm-mc/AsmParser.h | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/tools/llvm-mc/AsmParser.h b/llvm/tools/llvm-mc/AsmParser.h index 99e5bbede55..c7b7316d632 100644 --- a/llvm/tools/llvm-mc/AsmParser.h +++ b/llvm/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.  | 

