summaryrefslogtreecommitdiff
path: root/lib/MC
diff options
context:
space:
mode:
authorJack Carter <jcarter@mips.com>2013-02-12 21:29:39 +0000
committerJack Carter <jcarter@mips.com>2013-02-12 21:29:39 +0000
commitdc08bfbd565ba6540be698bba551b2039661299d (patch)
tree05aa1afeb2b9421a842def3369b02d9308068f3f /lib/MC
parent87d0b9ed1462705dd9bf1cb7f67d0bf03af776c8 (diff)
This patch just fixes up various llvm formatting
violations such as tabs, blanks at eol and long lines. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175007 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC')
-rw-r--r--lib/MC/ELFObjectWriter.cpp3
-rw-r--r--lib/MC/MCStreamer.cpp4
2 files changed, 4 insertions, 3 deletions
diff --git a/lib/MC/ELFObjectWriter.cpp b/lib/MC/ELFObjectWriter.cpp
index d65f22709e5..fb14dc96b39 100644
--- a/lib/MC/ELFObjectWriter.cpp
+++ b/lib/MC/ELFObjectWriter.cpp
@@ -135,7 +135,8 @@ class ELFObjectWriter : public MCObjectWriter {
const MCSymbol *undefinedExplicitRelSym(const MCValue &Target,
const MCFixup &Fixup,
bool IsPCRel) const {
- return TargetObjectWriter->undefinedExplicitRelSym(Target, Fixup, IsPCRel);
+ return TargetObjectWriter->undefinedExplicitRelSym(Target, Fixup,
+ IsPCRel);
}
bool is64Bit() const { return TargetObjectWriter->is64Bit(); }
diff --git a/lib/MC/MCStreamer.cpp b/lib/MC/MCStreamer.cpp
index e92569b0cc4..7d79d62830f 100644
--- a/lib/MC/MCStreamer.cpp
+++ b/lib/MC/MCStreamer.cpp
@@ -42,7 +42,7 @@ void MCStreamer::reset() {
LastSymbol = 0;
const MCSection *section = NULL;
SectionStack.clear();
- SectionStack.push_back(std::make_pair(section, section));
+ SectionStack.push_back(std::make_pair(section, section));
}
const MCExpr *MCStreamer::BuildSymbolDiff(MCContext &Context,
@@ -104,7 +104,7 @@ void MCStreamer::EmitIntValue(uint64_t Value, unsigned Size,
/// EmitULEB128Value - Special case of EmitULEB128Value that avoids the
/// client having to pass in a MCExpr for constant integers.
void MCStreamer::EmitULEB128IntValue(uint64_t Value, unsigned Padding,
- unsigned AddrSpace) {
+ unsigned AddrSpace) {
SmallString<128> Tmp;
raw_svector_ostream OSE(Tmp);
encodeULEB128(Value, OSE, Padding);