diff options
author | Eric Christopher <echristo@gmail.com> | 2013-11-23 00:05:06 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-11-23 00:05:06 +0000 |
commit | f8da6aa7c71d6a49c551fe2c7bcc7cba7d7f7ad5 (patch) | |
tree | b2a02be903e54a21d7ebc83955d3cf686b7e453d /llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | |
parent | 37eff6aad9d9fb59dc9efe78b066cc84d88aec07 (diff) | |
download | bcm5719-llvm-f8da6aa7c71d6a49c551fe2c7bcc7cba7d7f7ad5.tar.gz bcm5719-llvm-f8da6aa7c71d6a49c551fe2c7bcc7cba7d7f7ad5.zip |
Reformat const for readability.
llvm-svn: 195522
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index 308b0e091ac..502a4bbd984 100644 --- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -1452,8 +1452,8 @@ void AsmPrinter::EmitLabelOffsetDifference(const MCSymbol *Hi, uint64_t Offset, /// where the size in bytes of the directive is specified by Size and Label /// specifies the label. This implicitly uses .set if it is available. void AsmPrinter::EmitLabelPlusOffset(const MCSymbol *Label, uint64_t Offset, - unsigned Size, bool IsSectionRelative) - const { + unsigned Size, + bool IsSectionRelative) const { if (MAI->needsDwarfSectionOffsetDirective() && IsSectionRelative) { OutStreamer.EmitCOFFSecRel32(Label); return; @@ -1462,14 +1462,12 @@ void AsmPrinter::EmitLabelPlusOffset(const MCSymbol *Label, uint64_t Offset, // Emit Label+Offset (or just Label if Offset is zero) const MCExpr *Expr = MCSymbolRefExpr::Create(Label, OutContext); if (Offset) - Expr = MCBinaryExpr::CreateAdd(Expr, - MCConstantExpr::Create(Offset, OutContext), - OutContext); + Expr = MCBinaryExpr::CreateAdd( + Expr, MCConstantExpr::Create(Offset, OutContext), OutContext); OutStreamer.EmitValue(Expr, Size); } - //===----------------------------------------------------------------------===// // EmitAlignment - Emit an alignment directive to the specified power of |