cxx/src
Howard Hinnant e9df0a5c6c Nico Rieck: Currently _MSC_VER and _WIN32 are used to guard code which is
MSVC-specific, MSVCRT-specific, or Windows-specific. Because Clang can
also define _MSC_VER, and MSVCRT is not necessarily the only C runtime,
these macros should not be used interchangeably.

This patch divides all Windows-related bits into the aforementioned
categories. Two new macros are introduced:

- _LIBCPP_MSVC: Defined when compiling with MSVC. Detected using
  _MSC_VER, excluding Clang.
- _LIBCPP_MSVCRT: Defined when using the Microsoft CRT. This is the default
   when _WIN32 is defined.

This leaves _WIN32 for code using the Windows API.

This also corrects the spelling of _LIBCP_HAS_IS_BASE_OF to _LIBCPP_HAS_IS_BASE_OF.

Nico, please prepare a patch for CREDITS.TXT, thanks.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@187593 91177308-0d34-0410-b5e6-96231b3b80d8
2013-08-01 18:17:34 +00:00
..
support War on tabs. 2013-07-08 21:06:38 +00:00
algorithm.cpp license change 2010-11-16 22:09:02 +00:00
bind.cpp license change 2010-11-16 22:09:02 +00:00
chrono.cpp Removed raw references to __APPLE__; now just check to see if it is defined. 2013-03-18 17:45:34 +00:00
condition_variable.cpp Change sleep_for, sleep_until, and the condition_variable timed wait 2012-08-30 19:14:33 +00:00
debug.cpp Use static_cast. 2013-04-27 19:13:31 +00:00
exception.cpp Add some friendly messages to libcxx calls to abort(). 2013-07-23 16:05:56 +00:00
future.cpp Fix a race in the construction of future. This fixes http://llvm.org/bugs/show_bug.cgi?id=14934. 2013-01-14 20:01:24 +00:00
hash.cpp Only use Clang pragma when compiling with clang. 2013-04-27 19:10:15 +00:00
ios.cpp noexcept and constexpr applied to <ios>. 2012-07-21 01:03:40 +00:00
iostream.cpp Use reinterpret_casts directly in place of C-style casts. 2013-04-27 19:12:36 +00:00
locale.cpp Nico Rieck: Currently _MSC_VER and _WIN32 are used to guard code which is 2013-08-01 18:17:34 +00:00
memory.cpp This should be nothing but a load-time optimization. I'm trying to reduce load time initializers and this is a big one. No visible functionality change intended. 2013-03-16 00:17:53 +00:00
mutex.cpp noexcept and constexpr applied to <mutex>. 2012-07-21 16:13:09 +00:00
new.cpp Removed raw references to __APPLE__; now just check to see if it is defined. 2013-03-18 17:45:34 +00:00
random.cpp noexcept applied to <random>. 2012-07-20 21:44:27 +00:00
regex.cpp Quash a whole bunch of warnings 2011-12-01 20:21:04 +00:00
stdexcept.cpp Matthew Dempsky: Same as stdexcept.cpp in libc++abi: we've already computed 'len strlen(msg)', so we can use memcpy() instead of strcpy(). 2013-06-29 23:53:20 +00:00
string.cpp Nico Rieck: Currently _MSC_VER and _WIN32 are used to guard code which is 2013-08-01 18:17:34 +00:00
strstream.cpp Marshall Clow found this memory problem in strstream using -fsanitize=address on the test suite. 2013-03-19 22:16:57 +00:00
system_error.cpp Fix a few warnings/errors for compiling with -fno-exceptions. 2013-03-28 18:56:26 +00:00
thread.cpp Windows support in thread::hardware_concurrency. 2013-07-02 17:53:48 +00:00
typeinfo.cpp Fix a few warnings/errors for compiling with -fno-exceptions. 2013-03-28 18:56:26 +00:00
utility.cpp Put std::piecewise_construct_t back into the dylib for ABI stability. When clients are in C++11/constexpr mode this will be safely ignored because piecewise_construct is then declared with internal linkage. 2012-04-03 23:45:46 +00:00
valarray.cpp license change 2010-11-16 22:09:02 +00:00