mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 06:30:16 +00:00
this accessor doesn't need to copy the string.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100542 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b019491b8d
commit
779804353d
@ -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…
x
Reference in New Issue
Block a user