1 //===- MCAsmParserExtension.cpp - Asm Parser Hooks ------------------------===// 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/MCParser/MCAsmParserExtension.h" 11 12 using namespace llvm; 13 14 MCAsmParserExtension::MCAsmParserExtension() = default; 15 16 MCAsmParserExtension::~MCAsmParserExtension() = default; 17 Initialize(MCAsmParser & Parser)18void MCAsmParserExtension::Initialize(MCAsmParser &Parser) { 19 this->Parser = &Parser; 20 } 21