rename PIC16Section.h -> MCSectionPIC16.h for consistency with
authorChris Lattner <sabre@nondot.org>
Sat, 15 Aug 2009 06:13:40 +0000 (06:13 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 15 Aug 2009 06:13:40 +0000 (06:13 +0000)
the class it defines.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79081 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp
lib/Target/PIC16/MCSectionPIC16.h [new file with mode: 0644]
lib/Target/PIC16/PIC16Section.h [deleted file]
lib/Target/PIC16/PIC16TargetObjectFile.cpp

index 3dab34fdab7c1465076ba847e84707f0fa93c4d7..8dbfffc6e6a2964a276a41caf0ced5684c13f9aa 100644 (file)
@@ -13,7 +13,7 @@
 //===----------------------------------------------------------------------===//
 
 #include "PIC16AsmPrinter.h"
-#include "PIC16Section.h"
+#include "MCSectionPIC16.h"
 #include "PIC16TargetAsmInfo.h"
 #include "llvm/DerivedTypes.h"
 #include "llvm/Function.h"
diff --git a/lib/Target/PIC16/MCSectionPIC16.h b/lib/Target/PIC16/MCSectionPIC16.h
new file mode 100644 (file)
index 0000000..0a2d091
--- /dev/null
@@ -0,0 +1,41 @@
+//===- 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
diff --git a/lib/Target/PIC16/PIC16Section.h b/lib/Target/PIC16/PIC16Section.h
deleted file mode 100644 (file)
index 0a2d091..0000000
+++ /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
index aa865bfb50965ea6a36f9eec0f80bdb06cd90003..07d8381800a1ad0960a1a6daf61ba06b821690d6 100644 (file)
@@ -8,7 +8,7 @@
 //===----------------------------------------------------------------------===//
 
 #include "PIC16TargetObjectFile.h"
-#include "PIC16Section.h"
+#include "MCSectionPIC16.h"
 #include "PIC16ISelLowering.h"
 #include "PIC16TargetMachine.h"
 #include "llvm/DerivedTypes.h"