[llvm-commits] [llvm] r93352 - /llvm/trunk/lib/MC/MCSectionELF.cpp

Chris Lattner sabre at nondot.org
Wed Jan 13 13:21:29 PST 2010


Author: lattner
Date: Wed Jan 13 15:21:29 2010
New Revision: 93352

URL: http://llvm.org/viewvc/llvm-project?rev=93352&view=rev
Log:
tidy

Modified:
    llvm/trunk/lib/MC/MCSectionELF.cpp

Modified: llvm/trunk/lib/MC/MCSectionELF.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCSectionELF.cpp?rev=93352&r1=93351&r2=93352&view=diff

==============================================================================
--- llvm/trunk/lib/MC/MCSectionELF.cpp (original)
+++ llvm/trunk/lib/MC/MCSectionELF.cpp Wed Jan 13 15:21:29 2010
@@ -8,10 +8,10 @@
 //===----------------------------------------------------------------------===//
 
 #include "llvm/MC/MCSectionELF.h"
+#include "llvm/MC/MCAsmInfo.h"
 #include "llvm/MC/MCContext.h"
+#include "llvm/MC/MCSymbol.h"
 #include "llvm/Support/raw_ostream.h"
-#include "llvm/MC/MCAsmInfo.h"
-
 using namespace llvm;
 
 MCSectionELF *MCSectionELF::
@@ -23,7 +23,7 @@
 // ShouldOmitSectionDirective - Decides whether a '.section' directive
 // should be printed before the section name
 bool MCSectionELF::ShouldOmitSectionDirective(const char *Name,
-                                        const MCAsmInfo &MAI) const {
+                                              const MCAsmInfo &MAI) const {
   
   // FIXME: Does .section .bss/.data/.text work everywhere??
   if (strcmp(Name, ".text") == 0 ||
@@ -37,7 +37,6 @@
 
 // ShouldPrintSectionType - Only prints the section type if supported
 bool MCSectionELF::ShouldPrintSectionType(unsigned Ty) const {
-  
   if (IsExplicit && !(Ty == SHT_NOBITS || Ty == SHT_PROGBITS))
     return false;
 





More information about the llvm-commits mailing list