Start flushing out MCContext.
[oota-llvm.git] / include / llvm / MC / MCSymbol.h
1 //===- MCSymbol.h - Machine Code Symbols ------------------------*- 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 #ifndef LLVM_MC_MCSYMBOL_H
11 #define LLVM_MC_MCSYMBOL_H
12
13 #include <string>
14
15 namespace llvm {
16   class MCAtom;
17
18   class MCSymbol {
19     MCAtom *Atom;
20     std::string Name;
21     unsigned IsTemporary : 1;
22
23   public:
24     MCSymbol(MCAtom *_Atom, const char *_Name, bool _IsTemporary) 
25       : Atom(_Atom), Name(_Name), IsTemporary(_IsTemporary) {}
26   };
27
28 } // end namespace llvm
29
30 #endif