clang-format a couple of mis-formatted functions

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197831 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Timur Iskhodzhanov 2013-12-20 20:16:51 +00:00
parent 55b1086af2
commit 93c53f4d24

View File

@ -250,25 +250,19 @@ void WinCOFFStreamer::EndCOFFSymbolDef() {
CurSymbol = NULL;
}
void WinCOFFStreamer::EmitCOFFSectionIndex(MCSymbol const *Symbol)
{
void WinCOFFStreamer::EmitCOFFSectionIndex(MCSymbol const *Symbol) {
MCDataFragment *DF = getOrCreateDataFragment();
DF->getFixups().push_back(
MCFixup::Create(DF->getContents().size(),
MCSymbolRefExpr::Create (Symbol, getContext ()),
FK_SecRel_2));
DF->getFixups().push_back(MCFixup::Create(
DF->getContents().size(), MCSymbolRefExpr::Create(Symbol, getContext()),
FK_SecRel_2));
DF->getContents().resize(DF->getContents().size() + 4, 0);
}
void WinCOFFStreamer::EmitCOFFSecRel32(MCSymbol const *Symbol)
{
void WinCOFFStreamer::EmitCOFFSecRel32(MCSymbol const *Symbol) {
MCDataFragment *DF = getOrCreateDataFragment();
DF->getFixups().push_back(
MCFixup::Create(DF->getContents().size(),
MCSymbolRefExpr::Create (Symbol, getContext ()),
FK_SecRel_4));
DF->getFixups().push_back(MCFixup::Create(
DF->getContents().size(), MCSymbolRefExpr::Create(Symbol, getContext()),
FK_SecRel_4));
DF->getContents().resize(DF->getContents().size() + 4, 0);
}