[llvm] r306045 - [MC] Fix const qualifier warning
Ekaterina Vaartis via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 22 12:08:30 PDT 2017
Author: vaartis
Date: Thu Jun 22 14:08:30 2017
New Revision: 306045
URL: http://llvm.org/viewvc/llvm-project?rev=306045&view=rev
Log:
[MC] Fix const qualifier warning
Modified:
llvm/trunk/lib/MC/MCFragment.cpp
Modified: llvm/trunk/lib/MC/MCFragment.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCFragment.cpp?rev=306045&r1=306044&r2=306045&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCFragment.cpp (original)
+++ llvm/trunk/lib/MC/MCFragment.cpp Thu Jun 22 14:08:30 2017
@@ -328,9 +328,9 @@ LLVM_DUMP_METHOD void MCFragment::dump()
case MCFragment::FT_Dummy: OS << "MCDummyFragment"; break;
}
- OS << "<MCFragment " << (void*) this << " LayoutOrder:" << LayoutOrder
+ OS << "<MCFragment " << (const void*) this << " LayoutOrder:" << LayoutOrder
<< " Offset:" << Offset
- << " HasInstructions:" << hasInstructions()
+ << " HasInstructions:" << hasInstructions()
<< " BundlePadding:" << static_cast<unsigned>(getBundlePadding()) << ">";
switch (getKind()) {
More information about the llvm-commits
mailing list