Add a MCAsmInfoELF class and factor some code into it.
[oota-llvm.git] / lib / Target / XCore / MCTargetDesc / XCoreMCAsmInfo.h
1 //===-- XCoreMCAsmInfo.h - XCore asm properties ----------------*- C++ -*--===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file contains the declaration of the XCoreMCAsmInfo class.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef XCORETARGETASMINFO_H
15 #define XCORETARGETASMINFO_H
16
17 #include "llvm/MC/MCAsmInfoELF.h"
18
19 namespace llvm {
20   class StringRef;
21   class Target;
22
23   class XCoreMCAsmInfo : public MCAsmInfoELF {
24     virtual void anchor();
25   public:
26     explicit XCoreMCAsmInfo(StringRef TT);
27   };
28
29 } // namespace llvm
30
31 #endif