mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-29 14:40:25 +00:00
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:
parent
55b1086af2
commit
93c53f4d24
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user