llvm/libcxx
Sam James c8e7a87b1e [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

(cherry picked from commit 32a2af44e1e882f13d1cc2817f0a8d4d8b375d4d)
2022-11-10 16:53:39 -08:00
..
benchmarks [libc++] Implements Unicode grapheme clustering 2022-07-20 18:38:32 +02:00
cmake [CMake] Fix -Wstrict-prototypes 2022-11-10 16:53:39 -08:00
docs [libc++] Keep unary_function and binary_function in C++17 for one more release 2022-09-23 16:16:36 -04:00
include Bump version to 15.0.4 2022-10-24 13:45:36 +02:00
lib [libc++] Rename __libcpp_assertion_handler to __libcpp_verbose_abort 2022-08-02 21:48:48 -07:00
src [libc++] Simplify how we define the linker script for libc++ 2022-08-05 01:04:08 -07:00
test [libc++] Fix std::function's handling of blocks under Objc ARC 2022-10-18 08:29:03 +02:00
utils [libc++][format] Updates feature-test macros. 2022-09-14 08:14:43 +02:00
.clang-format [libc++] Fix merge-conflict in .clang-format 2022-08-02 21:48:48 -07:00
.clang-tidy [libc++] Make parameter names consistent and enforce the naming style using readability-identifier-naming 2022-07-08 18:17:47 +02:00
.gitignore
appveyor-reqs-install.cmd
appveyor.yml [libc++] Re-apply "Always build c++experimental.a"" 2022-07-19 10:44:19 -04:00
CMakeLists.txt [libc++] Drop the legacy debug mode symbols by default 2022-07-19 17:16:06 -04:00
CREDITS.TXT
LICENSE.TXT
TODO.TXT