1 //===- MCAsmInfoXCOFF.h - XCOFF asm properties ----------------- *- 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 #ifndef LLVM_MC_MCASMINFOXCOFF_H 10 #define LLVM_MC_MCASMINFOXCOFF_H 11 12 #include "llvm/MC/MCAsmInfo.h" 13 14 namespace llvm { 15 16 class MCAsmInfoXCOFF : public MCAsmInfo { 17 virtual void anchor(); 18 19 protected: 20 MCAsmInfoXCOFF(); 21 22 public: 23 // Return true only when C is an acceptable character inside a 24 // MCSymbolXCOFF. 25 bool isAcceptableChar(char C) const override; 26 }; 27 28 } // end namespace llvm 29 30 #endif // LLVM_MC_MCASMINFOXCOFF_H 31