summaryrefslogtreecommitdiff
path: root/include/llvm/Support/SourceMgr.h
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2010-01-27 10:13:28 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2010-01-27 10:13:28 +0000
commit42210668da1b304488320ff01eea74733d9a1829 (patch)
tree132d0c7e2393787ca0b6e10a1bbe28cb774228a5 /include/llvm/Support/SourceMgr.h
parente690ffbe6dbcd1b04ef864dd61d4182143dd0c4c (diff)
downloadllvm-42210668da1b304488320ff01eea74733d9a1829.tar.gz
llvm-42210668da1b304488320ff01eea74733d9a1829.tar.bz2
llvm-42210668da1b304488320ff01eea74733d9a1829.tar.xz
Make SMDiagnostic::Print a const method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94672 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/SourceMgr.h')
-rw-r--r--include/llvm/Support/SourceMgr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/SourceMgr.h b/include/llvm/Support/SourceMgr.h
index 176e852fc1..bed2f138dd 100644
--- a/include/llvm/Support/SourceMgr.h
+++ b/include/llvm/Support/SourceMgr.h
@@ -139,7 +139,7 @@ public:
: Filename(FN), LineNo(Line), ColumnNo(Col), Message(Msg),
LineContents(LineStr), ShowLine(showline) {}
- void Print(const char *ProgName, raw_ostream &S);
+ void Print(const char *ProgName, raw_ostream &S) const;
};
} // end llvm namespace