summaryrefslogtreecommitdiff
path: root/libc/src/__support/CPP/stringstream.h
AgeCommit message (Collapse)Author
2025-10-17Revert "[libc] add basic lifetime annotations for support data structures" ↵Schrodinger ZHU Yifan
(#164012) Reverts llvm/llvm-project#145933 due to broken aarch64 buildbots.
2025-10-17[libc] add basic lifetime annotations for support data structures (#145933)Schrodinger ZHU Yifan
fix #145932 --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2024-07-12[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597)Petr Hosek
This is a part of #97655.
2024-07-12Revert "[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace ↵Mehdi Amini
declaration" (#98593) Reverts llvm/llvm-project#98075 bots are broken
2024-07-11[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98075)Petr Hosek
This is a part of #97655.
2023-09-26[libc] Mass replace enclosing namespace (#67032)Guillaume Chatelet
This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079
2023-09-21[libc][clang-tidy] Add llvm-header-guard to get consistant naming and ↵Guillaume Chatelet
prevent file copy/paste issues. (#66477)
2023-08-09[libc] Better IntegerToString APIGuillaume Chatelet
This patch is an alternative to D155902. It provides the following benefits: - No buffer manual allocation and error handling for the general case - More flexible API : width specifier, sign and prefix handling - Simpler code The more flexible API removes the need for manually tweaking the buffer afterwards, and so prevents relying on implementation details of IntegerToString. Reviewed By: michaelrj, jhuber6 Differential Revision: https://reviews.llvm.org/D156981
2023-08-08Revert "[libc] Better IntegerToString API"Guillaume Chatelet
This reverts commit 910cc05aae85a6b31e2a2ed87d3dd46db46fce04.
2023-08-08[libc] Better IntegerToString APIGuillaume Chatelet
This patch is an alternative to D155902. It provides the following benefits: - No buffer manual allocation and error handling for the general case - More flexible API : width specifier, sign and prefix handling - Simpler code The more flexible API removes the need for manually tweaking the buffer afterwards, and so prevents relying on implementation details of IntegerToString. Reviewed By: michaelrj, jhuber6 Differential Revision: https://reviews.llvm.org/D156981
2022-08-22[libc][NFC] Use STL case for string_viewGuillaume Chatelet
2022-08-22[reland][NFC][libc] Use span instead of ArrayRefGuillaume Chatelet
2022-08-22Revert "[NFC][libc] Use span instead of ArrayRef"Guillaume Chatelet
This reverts commit e7b250b8a6e2bd7e2cb85e0a90d77b1a3326814b.
2022-08-22[NFC][libc] Use span instead of ArrayRefGuillaume Chatelet
2022-08-17[libc][NFC] Make IntegerToString simpler to use at call-sites.Siva Chandra Reddy
Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D131943
2022-08-04[libc][NFC] Add a few compiler warning flags.Siva Chandra Reddy
A bunch of cleanup to supress the new warnings is also done. Reviewed By: abrachet Differential Revision: https://reviews.llvm.org/D130723
2022-08-02[libc] Add GNU extension functions pthread_setname_np and pthread_getname_np.Siva Chandra Reddy
Reviewed By: michaelrj, lntue Differential Revision: https://reviews.llvm.org/D130872
2022-07-29[libc][NFC] Use STL case for type_traitsGuillaume Chatelet
Migrating all private STL code to the standard STL case but keeping it under the CPP namespace to avoid confusion. Starting with the type_traits header. Differential Revision: https://reviews.llvm.org/D130727
2022-07-25[libc] Add a simple StringStream class.Siva Chandra Reddy
This class will be used in future changes to construct simple strings. Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D130334