| //===- MCAsmParserExtension.cpp - Asm Parser Hooks ------------------------===// | |
| // | |
| // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | |
| // See https://llvm.org/LICENSE.txt for license information. | |
| // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | |
| // | |
| //===----------------------------------------------------------------------===// | |
| #include "llvm/MC/MCParser/MCAsmParserExtension.h" | |
| using namespace llvm; | |
| MCAsmParserExtension::MCAsmParserExtension() = default; | |
| MCAsmParserExtension::~MCAsmParserExtension() = default; | |
| void MCAsmParserExtension::Initialize(MCAsmParser &Parser) { | |
| this->Parser = &Parser; | |
| } |