Go to file
Howard Hinnant 8bd1771abe Matthew Dempsky: POSIX defines that the _POSIX_C_SOURCE macros are to be set by user
code to specify what version of POSIX the system should provide.  If
you want to check what version of POSIX is actually available, you're
supposed to test _POSIX_VERSION.

However, since sysconf() has been in POSIX since 1995, it's probably
safe to assume it's available on any system with a C++11 compiler,
especially if _SC_NPROCESSORS_ONLN is defined too.  So no point in a
complicated preprocessor rule if just we unconditionally include
<unistd.h> (on non-Windows systems).

Also, I've added a #warning for to help porters detect when a suitable
implementation isn't detected at compile-time.

Howard:  Matthew, can you patch CREDITS.TXT?  Thanks.
llvm-svn: 185275
2013-06-30 00:14:43 +00:00
clang Compress pairs. No functionality change. 2013-06-29 17:52:13 +00:00
clang-tools-extra Ran clang-format on Modularize.cpp to get a baseline for future changes. 2013-06-27 18:52:23 +00:00
compiler-rt Fix typo found by Clang fix for extern "C" function handling. 2013-06-28 22:28:37 +00:00
debuginfo-tests Now that we get non-trivial value parameters locations correct, un-XFAIL these tests. 2013-06-19 22:07:11 +00:00
libclc libclc: Add assembly versions of vstore for global [u]int4/8/16 2013-06-26 18:22:20 +00:00
libcxx Matthew Dempsky: POSIX defines that the _POSIX_C_SOURCE macros are to be set by user 2013-06-30 00:14:43 +00:00
libcxxabi I'd no sooner made the last commit when Matthew Dempsky sent me another test case that led me to yet another closely related test case that the current design could not handle. I've now changed the way forward references are handled completely. It wasn't that much code to change. The demangler, when confronted with a forward reference to a template parameter, now parses things twice. During the second parse, all forward references are remembered from the first parse. Test suite updated with new case. 2013-06-23 19:52:45 +00:00
lld Move a function into assert() so that GCC won't complain that the 2013-06-29 04:28:51 +00:00
lldb More useful printout of arguments after the recent changes to support LLDB_TEST_ARGUMENTS 2013-06-29 01:53:55 +00:00
llvm ValueTracking: Teach isKnownToBeAPowerOfTwo about (ADD X, (XOR X, Y)) where X is a power of two 2013-06-29 23:44:53 +00:00
polly BlockGenerator: Simplify the old value searching code. 2013-06-29 13:22:15 +00:00