mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-13 23:18:58 +00:00
add a helper.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52835 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bb0e248718
commit
d0ebbff8a3
@ -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