Helpful comment added. Some code cleanup. No functional change.
[oota-llvm.git] / lib / MC / MCSectionELF.cpp
index 660a8c9489f0b115c1ab9a1bbb62ed3ba0fe1813..c6812ed99c4117bac0ea7ae5638b4a9d6bae7b78 100644 (file)
@@ -15,7 +15,7 @@
 using namespace llvm;
 
 MCSectionELF *MCSectionELF::
-Create(const StringRef &Section, unsigned Type, unsigned Flags,
+Create(StringRef Section, unsigned Type, unsigned Flags,
        SectionKind K, bool isExplicit, MCContext &Ctx) {
   return new (Ctx) MCSectionELF(Section, Type, Flags, K, isExplicit);
 }