mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 20:34:38 +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,24 +250,18 @@ void WinCOFFStreamer::EndCOFFSymbolDef() {
|
|||||||
CurSymbol = NULL;
|
CurSymbol = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void WinCOFFStreamer::EmitCOFFSectionIndex(MCSymbol const *Symbol)
|
void WinCOFFStreamer::EmitCOFFSectionIndex(MCSymbol const *Symbol) {
|
||||||
{
|
|
||||||
MCDataFragment *DF = getOrCreateDataFragment();
|
MCDataFragment *DF = getOrCreateDataFragment();
|
||||||
|
DF->getFixups().push_back(MCFixup::Create(
|
||||||
DF->getFixups().push_back(
|
DF->getContents().size(), MCSymbolRefExpr::Create(Symbol, getContext()),
|
||||||
MCFixup::Create(DF->getContents().size(),
|
|
||||||
MCSymbolRefExpr::Create (Symbol, getContext ()),
|
|
||||||
FK_SecRel_2));
|
FK_SecRel_2));
|
||||||
DF->getContents().resize(DF->getContents().size() + 4, 0);
|
DF->getContents().resize(DF->getContents().size() + 4, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void WinCOFFStreamer::EmitCOFFSecRel32(MCSymbol const *Symbol)
|
void WinCOFFStreamer::EmitCOFFSecRel32(MCSymbol const *Symbol) {
|
||||||
{
|
|
||||||
MCDataFragment *DF = getOrCreateDataFragment();
|
MCDataFragment *DF = getOrCreateDataFragment();
|
||||||
|
DF->getFixups().push_back(MCFixup::Create(
|
||||||
DF->getFixups().push_back(
|
DF->getContents().size(), MCSymbolRefExpr::Create(Symbol, getContext()),
|
||||||
MCFixup::Create(DF->getContents().size(),
|
|
||||||
MCSymbolRefExpr::Create (Symbol, getContext ()),
|
|
||||||
FK_SecRel_4));
|
FK_SecRel_4));
|
||||||
DF->getContents().resize(DF->getContents().size() + 4, 0);
|
DF->getContents().resize(DF->getContents().size() + 4, 0);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user