mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
Clarify getName() comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77383 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b0d9c3e7fd
commit
dd04246fa2
@ -116,10 +116,10 @@ public:
|
||||
/// modified.
|
||||
///
|
||||
/// This is currently guaranteed to return a StringRef for which data() points
|
||||
/// to a valid null terminated string. This usage is deprecated, however, and
|
||||
/// clients should not rely on it. If such behavior is needed, clients should
|
||||
/// use getNameStr() or switch to an interface that does not depend on null
|
||||
/// termination.
|
||||
/// to a valid null terminated string. The use of StringRef.data() is
|
||||
/// deprecated here, however, and clients should not rely on it. If such
|
||||
/// behavior is needed, clients should use expensive getNameStr(), or switch
|
||||
/// to an interface that does not depend on null termination.
|
||||
StringRef getName() const;
|
||||
|
||||
/// getNameStr() - Return the name of the specified value, *constructing a
|
||||
|
Loading…
Reference in New Issue
Block a user