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 using namespace llvm; 12 MCAsmParserExtension()13MCAsmParserExtension::MCAsmParserExtension() : 14 BracketExpressionsSupported(false) { 15 } 16 ~MCAsmParserExtension()17MCAsmParserExtension::~MCAsmParserExtension() { 18 } 19 Initialize(MCAsmParser & Parser)20void MCAsmParserExtension::Initialize(MCAsmParser &Parser) { 21 this->Parser = &Parser; 22 } 23