projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88cd0aa
)
add a missing const qualifier for consistency.
author
Chris Lattner
<sabre@nondot.org>
Tue, 1 Mar 2011 08:36:21 +0000
(08:36 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 1 Mar 2011 08:36:21 +0000
(08:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126742
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/SourceMgr.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/SourceMgr.h
b/include/llvm/Support/SourceMgr.h
index a41a633ba6b6d0a9d711a63ad5de5a896700d578..26a92bea765ce97117d7023a6aa2a6e2322988a9 100644
(file)
--- a/
include/llvm/Support/SourceMgr.h
+++ b/
include/llvm/Support/SourceMgr.h
@@
-171,7
+171,7
@@
public:
const SourceMgr *getSourceMgr() const { return SM; }
SMLoc getLoc() const { return Loc; }
- const std::string &getFilename() { return Filename; }
+ const std::string &getFilename()
const
{ return Filename; }
int getLineNo() const { return LineNo; }
int getColumnNo() const { return ColumnNo; }
const std::string &getMessage() const { return Message; }