aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2018-06-13 19:49:58 +0000
committerRui Ueyama <ruiu@google.com>2018-06-13 19:49:58 +0000
commit803ffdbc7b4cb204de448bca8701fc7b7803584d (patch)
tree857879948ff2dd2a4c523e96c599fae562c5fa10
parent18fc6dc054ae39d2337af772409266d771b71622 (diff)
downloadllvm-803ffdbc7b4cb204de448bca8701fc7b7803584d.zip
llvm-803ffdbc7b4cb204de448bca8701fc7b7803584d.tar.gz
llvm-803ffdbc7b4cb204de448bca8701fc7b7803584d.tar.bz2
Apply clang-format.
llvm-svn: 334645
-rw-r--r--lld/ELF/Arch/Hexagon.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/lld/ELF/Arch/Hexagon.cpp b/lld/ELF/Arch/Hexagon.cpp
index ed000cc..817b77b 100644
--- a/lld/ELF/Arch/Hexagon.cpp
+++ b/lld/ELF/Arch/Hexagon.cpp
@@ -34,9 +34,7 @@ public:
} // namespace
// Support V60 only at the moment.
-uint32_t Hexagon::calcEFlags() const {
- return 0x60;
-}
+uint32_t Hexagon::calcEFlags() const { return 0x60; }
uint32_t Hexagon::applyMask(uint32_t Mask, uint32_t Data) const {
uint32_t Result = 0;
@@ -54,7 +52,7 @@ uint32_t Hexagon::applyMask(uint32_t Mask, uint32_t Data) const {
}
RelExpr Hexagon::getRelExpr(RelType Type, const Symbol &S,
- const uint8_t *Loc) const {
+ const uint8_t *Loc) const {
switch (Type) {
case R_HEX_B22_PCREL:
return R_PC;