1 //===-- llvm/MC/MCSymbolGOFF.h - GOFF Machine Code Symbols ------*- C++ -*-===// 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 /// \file 10 /// This file contains the MCSymbolGOFF class 11 /// 12 //===----------------------------------------------------------------------===// 13 #ifndef LLVM_MC_MCSYMBOLGOFF_H 14 #define LLVM_MC_MCSYMBOLGOFF_H 15 16 #include "llvm/MC/MCSymbol.h" 17 #include "llvm/MC/MCSymbolTableEntry.h" 18 19 namespace llvm { 20 21 class MCSymbolGOFF : public MCSymbol { 22 public: MCSymbolGOFF(const MCSymbolTableEntry * Name,bool IsTemporary)23 MCSymbolGOFF(const MCSymbolTableEntry *Name, bool IsTemporary) 24 : MCSymbol(SymbolKindGOFF, Name, IsTemporary) {} classof(const MCSymbol * S)25 static bool classof(const MCSymbol *S) { return S->isGOFF(); } 26 }; 27 } // end namespace llvm 28 29 #endif 30