Go to file
Eric Fiselier 54613ab4d4 [libc++] Remove various C++03 feature test macros
Summary:
Libc++ still uses per-feature configuration macros when configuring for C++11. However libc++ requires a feature-complete C++11 compiler so there is no reason to check individual features. This patch starts the process of removing the feature specific macros and replacing their usage with `_LIBCPP_CXX03_LANG`.

This patch removes the __config macros:

* _LIBCPP_HAS_NO_TRAILING_RETURN
* _LIBCPP_HAS_NO_TEMPLATE_ALIASES
* _LIBCPP_HAS_NO_ADVANCED_SFINAE
* _LIBCPP_HAS_NO_DEFAULT_FUNCTION_TEMPLATE_ARGS
* _LIBCPP_HAS_NO_STATIC_ASSERT

As a drive I also changed our C++03 static_assert to use _Static_assert if available.

I plan to commit this without review if nobody voices an objection.

Reviewers: mclow.lists

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D24895

llvm-svn: 282347
2016-09-25 03:34:28 +00:00
clang Remove excessive padding from RedeclarableResult 2016-09-24 04:21:53 +00:00
clang-tools-extra [clang-tidy] fix for NOLINT after macro expansion 2016-09-24 16:06:53 +00:00
compiler-rt [msan] Disable flaky fork.cc on PPC64. 2016-09-23 23:41:44 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Provide vstore_half helper to workaround clc restrictions 2016-09-21 20:15:55 +00:00
libcxx [libc++] Remove various C++03 feature test macros 2016-09-25 03:34:28 +00:00
libcxxabi annotate more function visibility 2016-09-23 21:36:24 +00:00
libunwind Add missing _US_ACTION_MASK constant to unwind.h 2016-09-05 18:01:13 +00:00
lld [LTO] Add a test for invalid alias analysis pipelines. 2016-09-24 20:05:52 +00:00
lldb [CMake] Generate LLDB_REVISION at build time 2016-09-23 23:33:52 +00:00
llgo [llgo] add llgo source path to LLVM_GO_PACKAGES 2016-07-27 03:01:00 +00:00
llvm Add some predicated searching functions to StringRef. 2016-09-25 03:27:29 +00:00
openmp Fix respecting LIBOMP_LLVM_LIT_EXECUTABLE as full path 2016-09-19 06:55:56 +00:00
parallel-libs [SE] Fix config bug with CUDA tests 2016-09-15 20:26:28 +00:00
polly [ScopDetection] Remove redundant checks for endless loops 2016-09-20 17:05:22 +00:00