mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 03:23:01 +02:00
add a helper.
llvm-svn: 52835
This commit is contained in:
parent
6b3b22747a
commit
a943d9f402
@ -93,6 +93,8 @@ public:
|
||||
/// Note that names can have null characters within the string as well as at
|
||||
/// their end. This always returns a non-null pointer.
|
||||
const char *getNameStart() const;
|
||||
/// getNameEnd - Return a pointer to the end of the name.
|
||||
const char *getNameEnd() const { return getNameStart() + getNameLen(); }
|
||||
|
||||
/// isName - Return true if this value has the name specified by the provided
|
||||
/// nul terminated string.
|
||||
|
Loading…
Reference in New Issue
Block a user