mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-23 14:30:50 +00:00
no really, we don't need to copy strings around in the accessor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100083 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fe805249f7
commit
73180c5355
@ -55,7 +55,7 @@ namespace llvm {
|
||||
typedef SMLoc LocTy;
|
||||
LocTy getLoc() const { return SMLoc::getFromPointer(TokStart); }
|
||||
lltok::Kind getKind() const { return CurKind; }
|
||||
const std::string getStrVal() const { return StrVal; }
|
||||
const std::string &getStrVal() const { return StrVal; }
|
||||
const Type *getTyVal() const { return TyVal; }
|
||||
unsigned getUIntVal() const { return UIntVal; }
|
||||
const APSInt &getAPSIntVal() const { return APSIntVal; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user