| 1 | //===- GOFFAsmParser.cpp - GOFF Assembly Parser ---------------------------===// |
|---|---|
| 2 | // |
| 3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| 4 | // See https://llvm.org/LICENSE.txt for license information. |
| 5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | |
| 9 | #include "llvm/MC/MCParser/MCAsmParserExtension.h" |
| 10 | |
| 11 | using namespace llvm; |
| 12 | |
| 13 | namespace { |
| 14 | |
| 15 | class GOFFAsmParser : public MCAsmParserExtension { |
| 16 | public: |
| 17 | GOFFAsmParser() = default; |
| 18 | |
| 19 | void Initialize(MCAsmParser &Parser) override { |
| 20 | // Call the base implementation. |
| 21 | this->MCAsmParserExtension::Initialize(Parser); |
| 22 | } |
| 23 | }; |
| 24 | |
| 25 | } // namespace |
| 26 | |
| 27 | MCAsmParserExtension *llvm::createGOFFAsmParser() { return new GOFFAsmParser; } |
| 28 |