[llvm] 3938ce9 - [ADT] Update comments in Twine.h (NFC) (#158783)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 16 09:07:16 PDT 2025
Author: Kazu Hirata
Date: 2025-09-16T09:07:12-07:00
New Revision: 3938ce96ad97acd26f4a7610d5cd3b2dac796c29
URL: https://github.com/llvm/llvm-project/commit/3938ce96ad97acd26f4a7610d5cd3b2dac796c29
DIFF: https://github.com/llvm/llvm-project/commit/3938ce96ad97acd26f4a7610d5cd3b2dac796c29.diff
LOG: [ADT] Update comments in Twine.h (NFC) (#158783)
Twine now stores integers by value, so this patch updates comments
accordingly.
Added:
Modified:
llvm/include/llvm/ADT/Twine.h
Removed:
################################################################################
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