Vinay Deshmukh
257e483715
[libc] Add -Wno-sign-conversion
& re-attempt -Wconversion
( #129811 )
...
Relates to
https://github.com/llvm/llvm-project/issues/119281#issuecomment-2699470459
2025-03-10 11:57:09 -04:00
Augie Fackler
da61b0ddc5
Revert "[libc] Enable -Wconversion for tests. ( #127523 )"
...
This reverts commit 1e6e845d49a336e9da7ca6c576ec45c0b419b5f6 because it
changed the 1st parameter of adjust() to be unsigned, but libc itself
calls adjust() with a negative argument in align_backward() in
op_generic.h.
2025-03-05 16:42:40 -05:00
Vinay Deshmukh
1e6e845d49
[libc] Enable -Wconversion for tests. ( #127523 )
...
Relates to: #119281
2025-03-04 10:24:35 -05:00
Nick Desaulniers
9426fdd4cb
[libc][test] fix memory leak pt.2 ( #122384 )
...
These were created with operator new (see `Test::createCallable`), so operator
delete should be used instead of free().
Fixes : #122369
Fixes : #122378
2025-01-09 14:46:52 -08:00
Nick Desaulniers
3caa68a021
[libc][test] fix memory leak ( #122378 )
...
Looks like the smart pointer I removed was being used to free the underlying
object.
Fixes : #122369
2025-01-09 14:15:31 -08:00
Nick Desaulniers
0efb376c20
[libc][test] remove C++ stdlib includes ( #122369 )
...
These make cross compiling the test suite more difficult, as you need
the
sysroot to contain these headers and libraries cross compiled for your
target.
It's straightforward to stick with the corresponding C headers.
2025-01-09 13:40:54 -08:00
Petr Hosek
5ff3ff33ff
[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration ( #98597 )
...
This is a part of #97655 .
2024-07-12 09:28:41 -07:00
Mehdi Amini
ce9035f5bd
Revert "[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration" ( #98593 )
...
Reverts llvm/llvm-project#98075
bots are broken
2024-07-12 09:12:13 +02:00
Petr Hosek
3f30effe1b
[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration ( #98075 )
...
This is a part of #97655 .
2024-07-11 12:35:22 -07:00
Guillaume Chatelet
b6bc9d72f6
[libc] Mass replace enclosing namespace ( #67032 )
...
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-26 11:45:04 +02:00
Siva Chandra Reddy
e3645eadb8
[libc][NFC] Move ExecuteFunction test util to test/UnitTest.
...
Reviewed By: lntue
Differential Revision: https://reviews.llvm.org/D148611
2023-04-18 16:17:42 +00:00