Go to file
Richard Smith 87d263e870 Fix some subtle wrong partial ordering bugs particularly with C++1z auto-typed
non-type template parameters.

During partial ordering, when checking the substituted deduced template
arguments match the original, check the types of non-type template arguments
match even if they're dependent. The only way we get dependent types here is if
they really represent types of the other template (which are supposed to be
modeled as being substituted for unique, non-dependent types).

In order to make this work for auto-typed non-type template arguments, we need
to be able to perform auto deduction even when the initializer and
(potentially) the auto type are dependent, support for which is the bulk of
this patch. (Note that this requires the ability to deduce only a single level
of a multi-level dependent type.)

llvm-svn: 290511
2016-12-25 08:05:23 +00:00
clang Fix some subtle wrong partial ordering bugs particularly with C++1z auto-typed 2016-12-25 08:05:23 +00:00
clang-tools-extra [clang-tidy] Remove local hasInClassInitializer matcher. NFC 2016-12-24 14:30:29 +00:00
compiler-rt Revert "[XRay][AArch64] An attempt to fix test patching-unpatching.cc by flushing the instruction cache after code modification" 2016-12-23 21:58:39 +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 Fix build since r286752. 2016-11-14 16:06:33 +00:00
libcxx [libc++] Make __num_get_float hidden 2016-12-24 18:05:32 +00:00
libcxxabi Suppress unreachable code warning in unwind tests 2016-12-24 05:01:55 +00:00
libunwind EHABI: mark some functions as exported 2016-11-17 23:53:35 +00:00
lld [ELF] - Fix mistype in comment. NFC. 2016-12-25 06:49:17 +00:00
lldb Fix a couple of incorrect format string warnings 2016-12-22 19:15:07 +00:00
llgo [llgo] Remove support for LLVM attributes 2016-12-06 19:22:04 +00:00
llvm MetadataLoader: replace the tracking of ForwardReferences and UnresolvedNodes with a set-based solution (NFC) 2016-12-25 04:22:54 +00:00
openmp Fix for the __kmpc_global_num_threads function to return the value of the __kmp_all_nth global var. 2016-12-21 21:20:20 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly ScheduleOptimizer: Fix spelling of option '-polly-target-throughput-vector-fma' 2016-12-23 07:33:39 +00:00