diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-07-20 20:01:54 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-07-20 20:01:54 +0000 |
commit | dbd692a66e6a5f60ec3ff120ed27ae3a918c375f (patch) | |
tree | 6d907de7a0162d51e5dbc71592dfdf2bdffe127e /lib/MC | |
parent | 753480ad204c122dab5942ff40f7f5b10c7a891e (diff) | |
download | external_llvm-dbd692a66e6a5f60ec3ff120ed27ae3a918c375f.zip external_llvm-dbd692a66e6a5f60ec3ff120ed27ae3a918c375f.tar.gz external_llvm-dbd692a66e6a5f60ec3ff120ed27ae3a918c375f.tar.bz2 |
Add MCAsmLexer interface.
- This provides the AsmLexer interface to the target specific assembly parsers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76460 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC')
-rw-r--r-- | lib/MC/CMakeLists.txt | 1 | ||||
-rw-r--r-- | lib/MC/MCAsmLexer.cpp | 18 |
2 files changed, 19 insertions, 0 deletions
diff --git a/lib/MC/CMakeLists.txt b/lib/MC/CMakeLists.txt index f0af7df..3dd1e18 100644 --- a/lib/MC/CMakeLists.txt +++ b/lib/MC/CMakeLists.txt @@ -1,4 +1,5 @@ add_llvm_library(LLVMMC + MCAsmLexer.cpp MCAsmParser.cpp MCAsmStreamer.cpp MCContext.cpp diff --git a/lib/MC/MCAsmLexer.cpp b/lib/MC/MCAsmLexer.cpp new file mode 100644 index 0000000..5cbcbfd --- /dev/null +++ b/lib/MC/MCAsmLexer.cpp @@ -0,0 +1,18 @@ +//===-- 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" + +using namespace llvm; + +MCAsmLexer::MCAsmLexer() { +} + +MCAsmLexer::~MCAsmLexer() { +} |