MCValue: Change to holding MCSymbolRefExprs instead of MCSymbols, we will need this...
[oota-llvm.git] / lib / Support / SourceMgr.cpp
index 7652e186cad891eb056c8ba9483dec9c964925a6..83c7964ca00c1b066e9697146ad2ece2a618dd5c 100644 (file)
@@ -188,7 +188,7 @@ void SourceMgr::PrintMessage(SMLoc Loc, const std::string &Msg,
 // SMDiagnostic Implementation
 //===----------------------------------------------------------------------===//
 
-void SMDiagnostic::Print(const char *ProgName, raw_ostream &S) {
+void SMDiagnostic::Print(const char *ProgName, raw_ostream &S) const {
   if (ProgName && ProgName[0])
     S << ProgName << ": ";