Go to file
Richard Trieu 15b66535ca When checking the template argument list, use a copy of that list for changes
and only update the orginal list on a valid arugment list.  When checking an
individual expression template argument, and conversions are required, update
the expression in the template argument.  Since template arguments are
speculatively checked, the copying of the template argument list prevents
updating the template arguments when the list does not match the template.

Additionally, clean up the integer checking code in the template diffing code.
The code performs unneccessary conversions from APSInt to APInt.

Fixes PR21758.

This essentially reverts r224770 to recommits r224667 and r224668 with extra
changes to prevent the template instantiation problems seen in PR22006.
A test to catch the discovered problem is also added.

llvm-svn: 226983
2015-01-24 02:48:32 +00:00
clang When checking the template argument list, use a copy of that list for changes 2015-01-24 02:48:32 +00:00
clang-tools-extra [clang-tidy] Use shrink_to_fit instead of copy and swap trick 2015-01-23 15:10:37 +00:00
compiler-rt [sanitizer] Update descriptor size for glibc 2.13. 2015-01-23 21:12: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 Use amdgcn triple for SI+ GPUs 2015-01-06 20:42:12 +00:00
libcxx Get libc++ building on Sun Solaris. Patch from C Bergstrom. 2015-01-23 22:22:36 +00:00
libcxxabi [libcxxabi] Teach CMake better ways to find the libc++ source directory (and misc cleanup). 2015-01-22 20:00:06 +00:00
lld Fix the ELF shared library build targets - take 2 2015-01-24 01:06:07 +00:00
lldb Adding the ability to get the language from a mangled name. This isn't used in the SVN LLDB, but will be used in another codebase based on the SVN LLDB. 2015-01-23 23:18:53 +00:00
llgo Introduce llgoi, a REPL for Go 2015-01-15 04:13:29 +00:00
llvm [PM] Rework how the TargetLibraryInfo pass integrates with the new pass 2015-01-24 02:06:09 +00:00
openmp added support for PPC architectures (version 3): initial patch provided by Carlo Bertolli, latest version from Johnny Peyton 2015-01-19 18:29:35 +00:00
polly Drop an unused parameter 2015-01-21 23:11:46 +00:00