diff options
| author | Rui Ueyama <ruiu@google.com> | 2015-04-14 06:58:48 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2015-04-14 06:58:48 +0000 |
| commit | 92259f7fa39c7d8c624a22224eeafe31361c35be (patch) | |
| tree | c400eac11807b1e8735d8af00bc0092bbb6fb5c7 /lld/lib/ReaderWriter/ELF | |
| parent | 76dff95a985d1d90c2c48ae8c6744e47ca9baeac (diff) | |
| download | bcm5719-llvm-92259f7fa39c7d8c624a22224eeafe31361c35be.tar.gz bcm5719-llvm-92259f7fa39c7d8c624a22224eeafe31361c35be.zip | |
Fix indentation.
llvm-svn: 234866
Diffstat (limited to 'lld/lib/ReaderWriter/ELF')
| -rw-r--r-- | lld/lib/ReaderWriter/ELF/Hexagon/HexagonTargetHandler.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/lld/lib/ReaderWriter/ELF/Hexagon/HexagonTargetHandler.h b/lld/lib/ReaderWriter/ELF/Hexagon/HexagonTargetHandler.h index 3e0ba9b9072..6e1d2ccf665 100644 --- a/lld/lib/ReaderWriter/ELF/Hexagon/HexagonTargetHandler.h +++ b/lld/lib/ReaderWriter/ELF/Hexagon/HexagonTargetHandler.h @@ -47,10 +47,9 @@ public: TargetLayout<ELF32LE>::SectionOrder getSectionOrder(StringRef name, int32_t contentType, int32_t contentPermissions) override { - if ((contentType == DefinedAtom::typeDataFast) || - (contentType == DefinedAtom::typeZeroFillFast)) + if (contentType == DefinedAtom::typeDataFast || + contentType == DefinedAtom::typeZeroFillFast) return ORDER_SDATA; - return TargetLayout<ELF32LE>::getSectionOrder(name, contentType, contentPermissions); } @@ -72,8 +71,8 @@ public: createSection(StringRef name, int32_t contentType, DefinedAtom::ContentPermissions contentPermissions, TargetLayout<ELF32LE>::SectionOrder sectionOrder) override { - if ((contentType == DefinedAtom::typeDataFast) || - (contentType == DefinedAtom::typeZeroFillFast)) + if (contentType == DefinedAtom::typeDataFast || + contentType == DefinedAtom::typeZeroFillFast) return &_sdataSection; return TargetLayout<ELF32LE>::createSection( name, contentType, contentPermissions, sectionOrder); @@ -84,7 +83,6 @@ public: getSegmentType(Section<ELF32LE> *section) const override { if (section->order() == ORDER_SDATA) return PT_LOAD; - return TargetLayout<ELF32LE>::getSegmentType(section); } |

