git-clang-format r249548.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 7 Oct 2015 20:32:24 +0000 (20:32 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 7 Oct 2015 20:32:24 +0000 (20:32 +0000)
Sorry for missing this the first time.

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

include/llvm/MC/MCSectionELF.h
lib/Target/NVPTX/NVPTXISelLowering.cpp

index 52e6d949376f16775c7a047856a8c26b6e0afd2d..b3bb3ad4e02c34da0ed3b609c2565cc1118e80af 100644 (file)
@@ -27,7 +27,7 @@ class MCSymbol;
 
 /// This represents a section on linux, lots of unix variants and some bare
 /// metal systems.
-class MCSectionELF final  : public MCSection {
+class MCSectionELF final : public MCSection {
   /// This is the name of the section.  The referenced memory is owned by
   /// TargetLoweringObjectFileELF's ELFUniqueMap.
   StringRef SectionName;
index b5ebc91c692813313e7f8a7c71f744e7fadb5d07..d39c3d13767eef0fca32d49b015dfa73361aaae5 100644 (file)
@@ -4566,25 +4566,25 @@ void NVPTXTargetLowering::ReplaceNodeResults(
 void NVPTXSection::anchor() {}
 
 NVPTXTargetObjectFile::~NVPTXTargetObjectFile() {
-  delete static_cast<NVPTXSection*>(TextSection);
-  delete static_cast<NVPTXSection*>(DataSection);
-  delete static_cast<NVPTXSection*>(BSSSection);
-  delete static_cast<NVPTXSection*>(ReadOnlySection);
-
-  delete static_cast<NVPTXSection*>(StaticCtorSection);
-  delete static_cast<NVPTXSection*>(StaticDtorSection);
-  delete static_cast<NVPTXSection*>(LSDASection);
-  delete static_cast<NVPTXSection*>(EHFrameSection);
-  delete static_cast<NVPTXSection*>(DwarfAbbrevSection);
-  delete static_cast<NVPTXSection*>(DwarfInfoSection);
-  delete static_cast<NVPTXSection*>(DwarfLineSection);
-  delete static_cast<NVPTXSection*>(DwarfFrameSection);
-  delete static_cast<NVPTXSection*>(DwarfPubTypesSection);
-  delete static_cast<const NVPTXSection*>(DwarfDebugInlineSection);
-  delete static_cast<NVPTXSection*>(DwarfStrSection);
-  delete static_cast<NVPTXSection*>(DwarfLocSection);
-  delete static_cast<NVPTXSection*>(DwarfARangesSection);
-  delete static_cast<NVPTXSection*>(DwarfRangesSection);
+  delete static_cast<NVPTXSection *>(TextSection);
+  delete static_cast<NVPTXSection *>(DataSection);
+  delete static_cast<NVPTXSection *>(BSSSection);
+  delete static_cast<NVPTXSection *>(ReadOnlySection);
+
+  delete static_cast<NVPTXSection *>(StaticCtorSection);
+  delete static_cast<NVPTXSection *>(StaticDtorSection);
+  delete static_cast<NVPTXSection *>(LSDASection);
+  delete static_cast<NVPTXSection *>(EHFrameSection);
+  delete static_cast<NVPTXSection *>(DwarfAbbrevSection);
+  delete static_cast<NVPTXSection *>(DwarfInfoSection);
+  delete static_cast<NVPTXSection *>(DwarfLineSection);
+  delete static_cast<NVPTXSection *>(DwarfFrameSection);
+  delete static_cast<NVPTXSection *>(DwarfPubTypesSection);
+  delete static_cast<const NVPTXSection *>(DwarfDebugInlineSection);
+  delete static_cast<NVPTXSection *>(DwarfStrSection);
+  delete static_cast<NVPTXSection *>(DwarfLocSection);
+  delete static_cast<NVPTXSection *>(DwarfARangesSection);
+  delete static_cast<NVPTXSection *>(DwarfRangesSection);
 }
 
 MCSection *