Skip to content

Commit 3938ce9

Browse files
[ADT] Update comments in Twine.h (NFC) (#158783)
Twine now stores integers by value, so this patch updates comments accordingly.
1 parent 3eea01e commit 3938ce9

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

llvm/include/llvm/ADT/Twine.h

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -119,22 +119,19 @@ class Twine {
119119
/// An int value, to render as a signed decimal integer.
120120
DecIKind,
121121

122-
/// A pointer to an unsigned long value, to render as an unsigned decimal
123-
/// integer.
122+
/// An unsigned long value, to render as an unsigned decimal integer.
124123
DecULKind,
125124

126-
/// A pointer to a long value, to render as a signed decimal integer.
125+
/// A long value, to render as a signed decimal integer.
127126
DecLKind,
128127

129-
/// A pointer to an unsigned long long value, to render as an unsigned
130-
/// decimal integer.
128+
/// An unsigned long long value, to render as an unsigned decimal integer.
131129
DecULLKind,
132130

133-
/// A pointer to a long long value, to render as a signed decimal integer.
131+
/// A long long value, to render as a signed decimal integer.
134132
DecLLKind,
135133

136-
/// A pointer to a uint64_t value, to render as an unsigned hexadecimal
137-
/// integer.
134+
/// A uint64_t value, to render as an unsigned hexadecimal integer.
138135
UHexKind
139136
};
140137

0 commit comments

Comments
 (0)