aboutsummaryrefslogtreecommitdiff
path: root/lib/MC/MCAsmLexer.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-22 01:44:57 +0000
committerChris Lattner <sabre@nondot.org>2010-01-22 01:44:57 +0000
commitc6ef277a0b8f43af22d86aea9d5053749cacfbbb (patch)
tree58fe0b09a1e44fa60f3d4bb596abb1b4a67d903c /lib/MC/MCAsmLexer.cpp
parent03949c9db3e8f02d6ec7cd53782507e3a4e9e4fc (diff)
create a new MCParser library and move some stuff into it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94129 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCAsmLexer.cpp')
-rw-r--r--lib/MC/MCAsmLexer.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/lib/MC/MCAsmLexer.cpp b/lib/MC/MCAsmLexer.cpp
deleted file mode 100644
index 1e34ed6f79..0000000000
--- a/lib/MC/MCAsmLexer.cpp
+++ /dev/null
@@ -1,23 +0,0 @@
-//===-- MCAsmLexer.cpp - Abstract Asm Lexer Interface ---------------------===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#include "llvm/MC/MCAsmLexer.h"
-#include "llvm/Support/SourceMgr.h"
-
-using namespace llvm;
-
-MCAsmLexer::MCAsmLexer() : CurTok(AsmToken::Error, StringRef()) {
-}
-
-MCAsmLexer::~MCAsmLexer() {
-}
-
-SMLoc AsmToken::getLoc() const {
- return SMLoc::getFromPointer(Str.data());
-}