summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/MC/MCSectionELF.h2
-rw-r--r--llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp38
2 files changed, 20 insertions, 20 deletions
diff --git a/llvm/include/llvm/MC/MCSectionELF.h b/llvm/include/llvm/MC/MCSectionELF.h
index 52e6d949376..b3bb3ad4e02 100644
--- a/llvm/include/llvm/MC/MCSectionELF.h
+++ b/llvm/include/llvm/MC/MCSectionELF.h
@@ -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;
diff --git a/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp b/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
index b5ebc91c692..d39c3d13767 100644
--- a/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
+++ b/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
@@ -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 *
OpenPOWER on IntegriCloud