[libc][NFC] Add a few compiler warning flags.
authorSiva Chandra Reddy <sivachandra@google.com>
Wed, 27 Jul 2022 21:24:07 +0000 (21:24 +0000)
committerSiva Chandra Reddy <sivachandra@google.com>
Thu, 4 Aug 2022 23:46:38 +0000 (23:46 +0000)
commit2e4ef9b6efcaacd5556e8c0ddf659550d3a089a0
tree4ea73fbd6cca89a527622c51c374c394b95f9d8c
parent1bfc05270576d082a258481438993a393d171226
[libc][NFC] Add a few compiler warning flags.

A bunch of cleanup to supress the new warnings is also done.

Reviewed By: abrachet

Differential Revision: https://reviews.llvm.org/D130723
libc/cmake/modules/LLVMLibCObjectRules.cmake
libc/src/__support/CPP/stringstream.h
libc/src/__support/FPUtil/PolyEval.h
libc/src/__support/str_to_float.h
libc/src/pthread/pthread_attr_destroy.cpp
libc/src/pthread/pthread_create.cpp
libc/src/pthread/pthread_mutexattr_destroy.cpp
libc/src/stdio/fopencookie.cpp
libc/src/string/memory_utils/elements.h
libc/src/threads/mtx_destroy.cpp
libc/test/src/time/asctime_test.cpp