llvm-project/libcxx
Sam James 32a2af44e1 [CMake] Fix -Wstrict-prototypes
Fixes warnings (or errors, if someone injects -Werror in their build system,
which happens in fact with some folks vendoring LLVM too) with Clang 16:
```
+/var/tmp/portage.notmp/portage/sys-devel/llvm-15.0.4/work/llvm_build-abi_x86_64.amd64/CMakeFiles/CMakeTmp/src.c:3:9: warning: a function declaration without a prototype
is deprecated in all versions of C [-Wstrict-prototypes]
-/var/tmp/portage.notmp/portage/sys-devel/llvm-14.0.4/work/llvm_build-abi_x86_64.amd64/CMakeFiles/CMakeTmp/src.c:3:9: error: a function declaration without a prototype is
deprecated in all versions of C [-Werror,-Wstrict-prototypes]
 int main() {return 0;}
         ^
          void
```

Differential Revision: https://reviews.llvm.org/D137503
2022-11-08 01:37:04 +00:00
..
benchmarks [libc++] Extend check for non-ASCII characters to src/, test/ and benchmarks/ 2022-08-23 18:36:38 -04:00
cmake [CMake] Fix -Wstrict-prototypes 2022-11-08 01:37:04 +00:00
docs [libc++] Add [[nodiscard]] extensions to ranges algorithms 2022-11-05 16:38:46 +01:00
include [libc++] Split __allocator_destructor out of shared_ptr.h 2022-11-05 21:25:54 +01:00
lib [libc++][PMR] Move the pmr::memory_resource destructor into the dylib 2022-11-01 00:37:04 +01:00
src [libc++][PMR] Deprecate the implementation in std::experimental 2022-11-01 00:37:08 +01:00
test [libc++] Split __allocator_destructor out of shared_ptr.h 2022-11-05 21:25:54 +01:00
utils [libc++][format] Implements string escaping. 2022-10-20 17:29:34 +02:00
.clang-format [libc++][NFC] Rename the constexpr macros 2022-08-19 15:35:02 +02:00
.clang-tidy [libc++] Make the naming of private member variables consistent and enforce it through readability-identifier-naming 2022-09-02 21:36:36 +02:00
.gitignore
CMakeLists.txt [runtimes] Add the ability to customize the output name of libc++, libc++abi and libunwind 2022-10-11 15:19:59 -04:00
CREDITS.TXT Microsoft's floating-point to_chars powered by Ryu and Ryu Printf 2021-12-12 16:34:50 +01:00
LICENSE.TXT
TODO.TXT [libc++] Disallow volatile types in std::allocator 2021-09-22 11:47:38 -04:00
appveyor-reqs-install.cmd
appveyor.yml [libc++] Re-apply "Always build c++experimental.a"" 2022-07-19 10:44:19 -04:00