Go to file
Akira Hatanaka b87faffdb9 [Sema] Fix a crash that occurs when a variable template is initialized
with a generic lambda.

This patch fixes Sema::InstantiateVariableInitializer to switch to the
context of the variable before instantiating its initializer, which is
necessary to set the correct type for VarTemplateSpecializationDecl.

This is the first part of the patch that was reviewed here:
http://reviews.llvm.org/D19175

rdar://problem/23440346

llvm-svn: 267956
2016-04-28 23:50:12 +00:00
clang [Sema] Fix a crash that occurs when a variable template is initialized 2016-04-28 23:50:12 +00:00
clang-tools-extra [clang-tidy] cppcoreguidelines-pro-type-member-init should not complain about static variables 2016-04-28 20:20:01 +00:00
compiler-rt [ASan] Reenable __builtin_setjmp test on PowerPC, disable on SystemZ. 2016-04-28 22:23:19 +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 prepare-builtins: Remove call to getGlobalContext() 2016-04-15 14:18:58 +00:00
libcxx Guard libc++ specific c.__invariants() tests in LIBCPP_ASSERT macros 2016-04-28 22:28:23 +00:00
libcxxabi Enable testing for static libc++abi 2016-04-19 12:47:38 +00:00
libunwind unwind: remove last instance of -Wexpansion-to-defined 2016-04-26 01:11:29 +00:00
lld Delete dead variable. 2016-04-28 20:29:12 +00:00
lldb Used llvm_unreached to quite a VC++ compiler warning. 2016-04-28 20:14:44 +00:00
llgo [llgo] llgoi: separate evaluation from printing 2016-04-25 01:18:20 +00:00
llvm [llvm-pdbdump] Restore error messages, handle bad block sizes 2016-04-28 23:47:27 +00:00
openmp Remove architecture dependent Hwloc DEBUG section 2016-04-25 21:11:26 +00:00
polly [FIX] Correct assumption simplification 2016-04-28 14:32:58 +00:00