1 //===-- MCAsmParser.cpp - Abstract Asm Parser Interface -------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #include "llvm/MC/MCAsmParser.h"
11 #include "llvm/MC/MCParsedAsmOperand.h"
12 #include "llvm/Support/SourceMgr.h"
15 MCAsmParser::MCAsmParser() {
18 MCAsmParser::~MCAsmParser() {
21 bool MCAsmParser::ParseExpression(const MCExpr *&Res) {
23 return ParseExpression(Res, L);
27 /// getStartLoc - Get the location of the first token of this operand.
28 SMLoc MCParsedAsmOperand::getStartLoc() const { return SMLoc(); }
29 SMLoc MCParsedAsmOperand::getEndLoc() const { return SMLoc(); }