forked from OSchip/llvm-project
this accessor doesn't need to copy the string.
llvm-svn: 100542
This commit is contained in:
parent
97c4cb8947
commit
6c61f4434c
|
@ -174,7 +174,7 @@ public:
|
|||
|
||||
const SourceMgr *getSourceMgr() const { return SM; }
|
||||
SMLoc getLoc() const { return Loc; }
|
||||
const std::string getFilename() { return Filename; }
|
||||
const std::string &getFilename() { return Filename; }
|
||||
int getLineNo() const { return LineNo; }
|
||||
int getColumnNo() const { return ColumnNo; }
|
||||
const std::string &getMessage() const { return Message; }
|
||||
|
|
Loading…
Reference in New Issue