diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-15 06:13:40 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-15 06:13:40 +0000 |
commit | c077621e136bccb20345dbaa122b536eeb6a2881 (patch) | |
tree | 3342fc59c4ff432cf3d47acdee0beb7fe6143e13 /lib/Target/PIC16/PIC16Section.h | |
parent | 97d37b601d2c06bce14b029fc26ca03290e82539 (diff) | |
download | llvm-c077621e136bccb20345dbaa122b536eeb6a2881.tar.gz llvm-c077621e136bccb20345dbaa122b536eeb6a2881.tar.bz2 llvm-c077621e136bccb20345dbaa122b536eeb6a2881.tar.xz |
rename PIC16Section.h -> MCSectionPIC16.h for consistency with
the class it defines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79081 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PIC16/PIC16Section.h')
-rw-r--r-- | lib/Target/PIC16/PIC16Section.h | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/lib/Target/PIC16/PIC16Section.h b/lib/Target/PIC16/PIC16Section.h deleted file mode 100644 index 0a2d09145c..0000000000 --- a/lib/Target/PIC16/PIC16Section.h +++ /dev/null @@ -1,41 +0,0 @@ -//===- PIC16Section.h - PIC16-specific section representation ---*- C++ -*-===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// -// -// This file declares the MCSection class. -// -//===----------------------------------------------------------------------===// - -#ifndef LLVM_PIC16SECTION_H -#define LLVM_PIC16SECTION_H - -#include "llvm/MC/MCSection.h" - -namespace llvm { - - class MCSectionPIC16 : public MCSection { - std::string Name; - - MCSectionPIC16(const StringRef &name, SectionKind K) - : MCSection(K), Name(name) { - } - - public: - - const std::string &getName() const { return Name; } - - static MCSectionPIC16 *Create(const StringRef &Name, - SectionKind K, MCContext &Ctx); - - virtual void PrintSwitchToSection(const TargetAsmInfo &TAI, - raw_ostream &OS) const; - }; - -} // end namespace llvm - -#endif |