blob: f53ab464f06a2c83ba669d98be88b238e9c3aa02 [file] [log] [blame]
Daniel Dunbara3af3702009-07-20 18:55:04 +00001//===-- MCAsmParser.cpp - Abstract Asm Parser Interface -------------------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10#include "llvm/MC/MCAsmParser.h"
Chris Lattnerb4307b32010-01-15 19:28:38 +000011#include "llvm/MC/MCParsedAsmOperand.h"
12#include "llvm/Support/SourceMgr.h"
Daniel Dunbara3af3702009-07-20 18:55:04 +000013using namespace llvm;
14
15MCAsmParser::MCAsmParser() {
16}
17
18MCAsmParser::~MCAsmParser() {
19}
Chris Lattnerb4307b32010-01-15 19:28:38 +000020
21bool MCAsmParser::ParseExpression(const MCExpr *&Res) {
22 SMLoc L;
Chris Lattner9521c952010-01-15 19:51:05 +000023 return ParseExpression(Res, L);
Chris Lattnerb4307b32010-01-15 19:28:38 +000024}
25
26
27/// getStartLoc - Get the location of the first token of this operand.
28SMLoc MCParsedAsmOperand::getStartLoc() const { return SMLoc(); }
29SMLoc MCParsedAsmOperand::getEndLoc() const { return SMLoc(); }
30
31