Go to file
Eric Fiselier 9743af6e31 Replace __make_tuple_indices implementation with superior implementation.
The previous __make_tuple_indices implementation caused O(N) instantiations
and was pretty inefficient. The C++14 __make_integer_sequence implementation
is much better, since it either uses a builtin to generate the sequence or
a very nice Log8(N) implementation provided by richard smith.

This patch moves the __make_integer_sequence implementation into __tuple
and uses it to implement __make_tuple_indices.

Since libc++ can't expose the name 'integer_sequence' in C++11 this patch
also introduces a dummy type '__integer_sequence' which is used when generating
the sequence. One the sequence is generated '__integer_sequence' can be
converted into the required type; either '__tuple_indices' or 'integer_sequence'.

llvm-svn: 274286
2016-06-30 22:34:43 +00:00
clang [OpenMP] Use fopenmp prefix for all options introduced by the offloading implementation. 2016-06-30 21:22:08 +00:00
clang-tools-extra [clang-tidy] Do not match on lambdas. 2016-06-28 14:19:41 +00:00
compiler-rt [compiler-rt] Re-active unittest previously broken on windows. 2016-06-30 20:06:29 +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 configure: Remove device specific defines 2016-06-17 20:30:50 +00:00
libcxx Replace __make_tuple_indices implementation with superior implementation. 2016-06-30 22:34:43 +00:00
libcxxabi Fix [libcxxabi] Fix warning about uninitialized const member. 2016-06-15 19:59:16 +00:00
libunwind [libunwind] Improve unwinder stack usage - III 2016-06-14 15:51:01 +00:00
lld Do not allow "--" with single-letter options. 2016-06-30 08:43:23 +00:00
lldb Fix for Windows builds. 2016-06-30 20:55:50 +00:00
llgo [llgo] llgoi: separate evaluation from printing 2016-04-25 01:18:20 +00:00
llvm Test commit. 2016-06-30 21:43:11 +00:00
openmp Fix omp_sections_nowait.c test to address Bugzilla Bug 28336 2016-06-29 19:46:52 +00:00
parallel-libs Change mailing list names in README 2016-06-24 22:50:09 +00:00
polly ScopInfo: Add array_begin() and array_end() iterators 2016-06-30 20:53:50 +00:00