hanchenye-llvm-project/libcxx
Louis Dionne 2fcdcac4ec [libcxx] Add missing includes in tests
A bunch of unordered containers tests call library functions but don't directly
include the corresponding header files:

- fabs() (defined in <cmath> which is not included);
- is_permutation() (defined in <algorithm> which is not included);
- next() (defined in <iterator> which is not included).
- As a result, these tests won't compile against some conformant libraries.

Reviewed as https://reviews.llvm.org/D54643.
Thanks to Andrey Maksimov for the patch.

llvm-svn: 347085
2018-11-16 19:52:47 +00:00
..
benchmarks Disable filesystem benchmark when libstdc++ doesn't support it 2018-11-15 19:53:43 +00:00
cmake [CMake] Passthrough CFLAGS when checking the compiler-rt path 2018-11-14 00:09:26 +00:00
docs [libcxx] Mention restriction on inline namespaces in LIBCXX_ABI_NAMESPACE docs 2018-11-16 14:57:47 +00:00
fuzzing Fix the test for partition_copy so it is not ridiculously slow. Also, detab. 2018-11-04 17:57:25 +00:00
include Implement P0972R0: <chrono> zero(), min(), and max() should be noexcept. Reviewed as https://reviews.llvm.org/D53828 2018-11-13 17:22:41 +00:00
lib Correct ABI list change wrongly advertised as being in the 7.0 release 2018-10-30 23:24:02 +00:00
src [libcxx] GNU/Hurd uses BSD-based interfaces, but does not (and won't) provide <sys/sysctl.h> 2018-11-13 17:00:04 +00:00
test [libcxx] Add missing includes in tests 2018-11-16 19:52:47 +00:00
utils Remove BUILD file from google-benchmark 2018-11-16 12:53:17 +00:00
www Mark #2184 as complete; the tests are fine. (I thought that they were wrong before) 2018-11-13 22:26:03 +00:00
.arcconfig [libcxx] Set up .arcconfig to point to new Diffusion CXX repository 2017-12-04 17:55:28 +00:00
.clang-format
.gitignore
CMakeLists.txt Rename cxx-benchmark-unittests target and convert to LIT. 2018-11-14 20:38:46 +00:00
CREDITS.TXT Try again, this time with the correct address 2017-12-29 19:26:53 +00:00
LICENSE.TXT
NOTES.TXT Reland "Use custom command and target to install libc++ headers" 2018-06-12 03:10:02 +00:00
TODO.TXT
appveyor-reqs-install.cmd Update LLVM version used on Appveyor bot, remove MSVC 2015 bot 2018-10-30 21:23:31 +00:00
appveyor.yml Update LLVM version used on Appveyor bot, remove MSVC 2015 bot 2018-10-30 21:23:31 +00:00