'printMCInst' doesn't print newlines after instructions anymore.
[llvm/avr.git] / lib / MC / MCAsmLexer.cpp
blob1e34ed6f7900b711680bdc4b2305612faf5e863b
1 //===-- MCAsmLexer.cpp - Abstract Asm Lexer 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 //===----------------------------------------------------------------------===//
10 #include "llvm/MC/MCAsmLexer.h"
11 #include "llvm/Support/SourceMgr.h"
13 using namespace llvm;
15 MCAsmLexer::MCAsmLexer() : CurTok(AsmToken::Error, StringRef()) {
18 MCAsmLexer::~MCAsmLexer() {
21 SMLoc AsmToken::getLoc() const {
22 return SMLoc::getFromPointer(Str.data());