r295379 - Properly set up the DeclContext for parameters of implicit deduction guides;

2017-02-16 Thread Richard Smith via cfe-commits
Author: rsmith Date: Thu Feb 16 15:29:21 2017 New Revision: 295379 URL: http://llvm.org/viewvc/llvm-project?rev=295379&view=rev Log: Properly set up the DeclContext for parameters of implicit deduction guides; this is needed for deferred instantiation of default arguments. Modified: cfe/trunk

Re: r295379 - Properly set up the DeclContext for parameters of implicit deduction guides;

2017-02-16 Thread Eric Fiselier via cfe-commits
Hi Richard, One more issue. When compiling with `-g` the following code hits a `llvm_unreachable` in CGDebugInfo::CreateTypeNode. template struct S { S(T) {} }; S s(42); /Eric On Thu, Feb 16, 2017 at 2:29 PM, Richard Smith via cfe-commits < cfe-commits@lists.llvm.org> wrote: > Author: rsmith

Re: r295379 - Properly set up the DeclContext for parameters of implicit deduction guides;

2017-02-16 Thread Eric Fiselier via cfe-commits
I put my attempt to fix this up for review: https://reviews.llvm.org/D30082 On Thu, Feb 16, 2017 at 10:17 PM, Eric Fiselier wrote: > Hi Richard, > > One more issue. When compiling with `-g` the following code hits a > `llvm_unreachable` in CGDebugInfo::CreateTypeNode. > > template struct S { S