hanchenye-llvm-project/libcxx
Eric Fiselier 541f9e2830 Add _LIBCPP_COMPILER_[CLANG|GCC|MSVC|IBM] macros.
This patch refactors the compiler detection done in `__config` by creating a
set of `_LIBCPP_COMPILER_<TYPE>` macros. The goal of this patch is to make
it easier to detect what compiler is being used outside of `__config`.

Additionally this patch removes workarounds for GCC in `__bit_reference`. I
tested GCC 4.8 and 4.9 without the workaround and neither seemed to need it
anymore.

llvm-svn: 291286
2017-01-06 21:42:58 +00:00
..
benchmarks improve performance of string::find 2016-12-30 18:01:36 +00:00
cmake PR31540: install libc++abi headers into include/c++/v1 in build area. 2017-01-05 02:55:10 +00:00
docs [libc++] Cleanup and document <__threading_support> 2017-01-06 20:05:40 +00:00
include Add _LIBCPP_COMPILER_[CLANG|GCC|MSVC|IBM] macros. 2017-01-06 21:42:58 +00:00
lib [libc++] Cleanup and document <__threading_support> 2017-01-06 20:05:40 +00:00
src Add _LIBCPP_COMPILER_[CLANG|GCC|MSVC|IBM] macros. 2017-01-06 21:42:58 +00:00
test Replace _LIBCPP_HAS_NO_DELETED_FUNCTIONS with _LIBCPP_CXX03_LANG 2017-01-06 20:58:25 +00:00
utils Fix creating __generated_config on Windows 2017-01-03 03:55:29 +00:00
www Implement P0505: 'Wording for GB 50' 2017-01-04 23:03:24 +00:00
.arcconfig
.clang-format clang-format: tweak configuration 2017-01-03 04:23:52 +00:00
.gitignore Implement N4606 optional 2016-10-12 07:46:20 +00:00
CMakeLists.txt [libc++] Cleanup and document <__threading_support> 2017-01-06 20:05:40 +00:00
CREDITS.TXT
LICENSE.TXT Update year to 2017 2017-01-03 11:20:43 +00:00
NOTES.TXT Update doc and various cleanup 2016-12-23 20:00:13 +00:00
TODO.TXT Update doc and various cleanup 2016-12-23 20:00:13 +00:00