aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason W Kim <jason.w.kim.2009@gmail.com>2010-11-22 22:05:16 +0000
committerJason W Kim <jason.w.kim.2009@gmail.com>2010-11-22 22:05:16 +0000
commit10907426893019c6b7e59c886e41815d4fe50b19 (patch)
tree8bac498aead16d480eb528d69c6130d44465c9ad
parentd80f8d08ce6ad824a931f930b7944af4a36ea33c (diff)
Fixed some style issues (no _, no spc after !)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119986 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/MC/ELFObjectWriter.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/MC/ELFObjectWriter.cpp b/lib/MC/ELFObjectWriter.cpp
index bebbc4c918..82bfe29652 100644
--- a/lib/MC/ELFObjectWriter.cpp
+++ b/lib/MC/ELFObjectWriter.cpp
@@ -129,11 +129,11 @@ namespace {
ELFRelocationEntry()
: r_offset(0), Index(0), Type(0), Symbol(0), r_addend(0) {}
- ELFRelocationEntry(uint64_t RelocOffset, int _Index,
- unsigned _Type, const MCSymbol *_Symbol,
+ ELFRelocationEntry(uint64_t RelocOffset, int Idx,
+ unsigned RelType, const MCSymbol *Sym,
uint64_t Addend)
- : r_offset(RelocOffset), Index(_Index), Type(_Type),
- Symbol(_Symbol), r_addend(Addend) {}
+ : r_offset(RelocOffset), Index(Idx), Type(RelType),
+ Symbol(Sym), r_addend(Addend) {}
// Support lexicographic sorting.
bool operator<(const ELFRelocationEntry &RE) const {
@@ -1529,7 +1529,7 @@ void MBlazeELFObjectWriter::RecordRelocation(const MCAssembler &Asm,
uint64_t RelocOffset = Layout.getFragmentOffset(Fragment) +
Fixup.getOffset();
- if (! HasRelocationAddend) Addend = 0;
+ if (!HasRelocationAddend) Addend = 0;
ELFRelocationEntry ERE(RelocOffset, Index, Type, RelocSymbol, Addend);
Relocations[Fragment->getParent()].push_back(ERE);
}
@@ -1741,7 +1741,7 @@ void X86ELFObjectWriter::RecordRelocation(const MCAssembler &Asm,
uint64_t RelocOffset = Layout.getFragmentOffset(Fragment) +
Fixup.getOffset();
- if (! HasRelocationAddend) Addend = 0;
+ if (!HasRelocationAddend) Addend = 0;
ELFRelocationEntry ERE(RelocOffset, Index, Type, RelocSymbol, Addend);
Relocations[Fragment->getParent()].push_back(ERE);
}