mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
no really, we don't need to copy strings around in the accessor.
llvm-svn: 100083
This commit is contained in:
parent
98c3d20ae4
commit
7de674345c
@ -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