[llvm] r197831 - clang-format a couple of mis-formatted functions
Timur Iskhodzhanov
timurrrr at google.com
Fri Dec 20 12:16:51 PST 2013
Author: timurrrr
Date: Fri Dec 20 14:16:51 2013
New Revision: 197831
URL: http://llvm.org/viewvc/llvm-project?rev=197831&view=rev
Log:
clang-format a couple of mis-formatted functions
Modified:
llvm/trunk/lib/MC/WinCOFFStreamer.cpp
Modified: llvm/trunk/lib/MC/WinCOFFStreamer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/WinCOFFStreamer.cpp?rev=197831&r1=197830&r2=197831&view=diff
==============================================================================
--- llvm/trunk/lib/MC/WinCOFFStreamer.cpp (original)
+++ llvm/trunk/lib/MC/WinCOFFStreamer.cpp Fri Dec 20 14:16:51 2013
@@ -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);
}
More information about the llvm-commits
mailing list