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 18 namespace llvm { 19 20 class MCSymbolGOFF : public MCSymbol { 21 public: 22 MCSymbolGOFF(const StringMapEntry<bool> *Name, bool IsTemporary) 23 : MCSymbol(SymbolKindGOFF, Name, IsTemporary) {} 24 static bool classof(const MCSymbol *S) { return S->isGOFF(); } 25 }; 26 } // end namespace llvm 27 28 #endif 29