[llvm] [ADT] Update comments in Twine.h (NFC) (PR #158783)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 15 22:58:24 PDT 2025
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/158783
Twine now stores integers by value, so this patch updates comments
accordingly.
>From cb3025419da12da28438dc3e6ef3df5e897f292f Mon Sep 17 00:00:00 2001
From: Kazu Hirata <kazu at google.com>
Date: Mon, 15 Sep 2025 09:58:07 -0700
Subject: [PATCH] [ADT] Update comments in Twine.h (NFC)
Twine now stores integers by value, so this patch updates comments
accordingly.
---
llvm/include/llvm/ADT/Twine.h | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/llvm/include/llvm/ADT/Twine.h b/llvm/include/llvm/ADT/Twine.h
index 249fb0ad83808..d9f9c0f0d5d9c 100644
--- a/llvm/include/llvm/ADT/Twine.h
+++ b/llvm/include/llvm/ADT/Twine.h
@@ -119,22 +119,19 @@ class Twine {
/// An int value, to render as a signed decimal integer.
DecIKind,
- /// A pointer to an unsigned long value, to render as an unsigned decimal
- /// integer.
+ /// An unsigned long value, to render as an unsigned decimal integer.
DecULKind,
- /// A pointer to a long value, to render as a signed decimal integer.
+ /// A long value, to render as a signed decimal integer.
DecLKind,
- /// A pointer to an unsigned long long value, to render as an unsigned
- /// decimal integer.
+ /// An unsigned long long value, to render as an unsigned decimal integer.
DecULLKind,
- /// A pointer to a long long value, to render as a signed decimal integer.
+ /// A long long value, to render as a signed decimal integer.
DecLLKind,
- /// A pointer to a uint64_t value, to render as an unsigned hexadecimal
- /// integer.
+ /// A uint64_t value, to render as an unsigned hexadecimal integer.
UHexKind
};
More information about the llvm-commits
mailing list