MCSymbolGOFF.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. #pragma once
  2. #ifdef __GNUC__
  3. #pragma GCC diagnostic push
  4. #pragma GCC diagnostic ignored "-Wunused-parameter"
  5. #endif
  6. //===-- llvm/MC/MCSymbolGOFF.h - GOFF Machine Code Symbols ------*- C++ -*-===//
  7. //
  8. // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
  9. // See https://llvm.org/LICENSE.txt for license information.
  10. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  11. //
  12. //===----------------------------------------------------------------------===//
  13. ///
  14. /// \file
  15. /// This file contains the MCSymbolGOFF class
  16. ///
  17. //===----------------------------------------------------------------------===//
  18. #ifndef LLVM_MC_MCSYMBOLGOFF_H
  19. #define LLVM_MC_MCSYMBOLGOFF_H
  20. #include "llvm/MC/MCSymbol.h"
  21. namespace llvm {
  22. class MCSymbolGOFF : public MCSymbol {
  23. public:
  24. MCSymbolGOFF(const StringMapEntry<bool> *Name, bool IsTemporary)
  25. : MCSymbol(SymbolKindGOFF, Name, IsTemporary) {}
  26. static bool classof(const MCSymbol *S) { return S->isGOFF(); }
  27. };
  28. } // end namespace llvm
  29. #endif
  30. #ifdef __GNUC__
  31. #pragma GCC diagnostic pop
  32. #endif