MCAsmInfoXCOFF.h 961 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #pragma once
  2. #ifdef __GNUC__
  3. #pragma GCC diagnostic push
  4. #pragma GCC diagnostic ignored "-Wunused-parameter"
  5. #endif
  6. //===- MCAsmInfoXCOFF.h - XCOFF asm properties ----------------- *- 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. #ifndef LLVM_MC_MCASMINFOXCOFF_H
  14. #define LLVM_MC_MCASMINFOXCOFF_H
  15. #include "llvm/MC/MCAsmInfo.h"
  16. namespace llvm {
  17. class MCAsmInfoXCOFF : public MCAsmInfo {
  18. virtual void anchor();
  19. protected:
  20. MCAsmInfoXCOFF();
  21. public:
  22. // Return true only when C is an acceptable character inside a
  23. // MCSymbolXCOFF.
  24. bool isAcceptableChar(char C) const override;
  25. };
  26. } // end namespace llvm
  27. #endif // LLVM_MC_MCASMINFOXCOFF_H
  28. #ifdef __GNUC__
  29. #pragma GCC diagnostic pop
  30. #endif