Mark some tests with XFAIL for Lion and Mountain Lion.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@181336 91177308-0d34-0410-b5e6-96231b3b80d8
Introduce _LIBCPP_STD_VER.  This can be set by the client (or the clang driver).  Or it will be defaulted.  The default is 11 if -std= c++11 or eariler, else it will default to the current year modulo the century.  We anticipate it defaulting to 14 for C++14 when the time comes.  For now, post-C++11 libcxx implementations should protect themselves with #if _LIBCPP_STD_VER > 11.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@181347 91177308-0d34-0410-b5e6-96231b3b80d8
Constrain __invoke functions more accurately.  This fixes http://llvm.org/bugs/show_bug.cgi?id=15861 .

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@181377 91177308-0d34-0410-b5e6-96231b3b80d8
Put a 1-character unget buffer into cin.  This fixes http://llvm.org/bugs/show_bug.cgi?id=15867

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@181470 91177308-0d34-0410-b5e6-96231b3b80d8
Initialize codecvt explicitly with the C locale, which might not be 0.


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@181534 91177308-0d34-0410-b5e6-96231b3b80d8
Implement n3607: 'equal', 'mismatch', and 'is_permutation'

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@181548 91177308-0d34-0410-b5e6-96231b3b80d8
Don't try to free the C locale.


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@181559 91177308-0d34-0410-b5e6-96231b3b80d8
Fix incorrect type usage; nice catch by Sebastian

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@181569 91177308-0d34-0410-b5e6-96231b3b80d8
XFAIL this test when using the darwin12 system library. Reviewed by Howard

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@181610 91177308-0d34-0410-b5e6-96231b3b80d8
İsmail Dönmez: Enable quick_exit on linux.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@181612 91177308-0d34-0410-b5e6-96231b3b80d8
Fixing the MSan/compiler-rt build

Patch by Evgieniy Stepanov, review by İsmail Dönmez.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@181740 91177308-0d34-0410-b5e6-96231b3b80d8