[LLVMdev] Proposed patches for clang 3.5.1

Jeremy Huddleston Sequoia jeremyhu at apple.com
Mon Nov 24 15:13:39 PST 2014


I'd like to request the following be cherry-picked into the clang branch for 3.5.1:

r221832 - http://llvm.org/bugs/show_bug.cgi?id=21536
r221748 - http://llvm.org/bugs/show_bug.cgi?id=19372

Both are currently pulled into MacPorts' clang-3.5 by user request.

Thanks,
Jeremy


From f27355c10ce84f000530fbc5a22449047a095efc Mon Sep 17 00:00:00 2001
From: Richard Smith <richard-llvm at metafoo.co.uk>
Date: Wed, 12 Nov 2014 01:43:45 +0000
Subject: [PATCH 1/2] PR21536: Fix a corner case where we'd get confused by a
 pack expanding into the penultimate parameter of a template parameter list,
 where the last parameter is itself a pack, and build a bogus empty final pack
 argument.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@221748 91177308-0d34-0410-b5e6-96231b3b80d8

From 0019dadd93e1e38476b9c115470409c7f9fc3899 Mon Sep 17 00:00:00 2001
From: Richard Smith <richard-llvm at metafoo.co.uk>
Date: Wed, 12 Nov 2014 23:38:38 +0000
Subject: [PATCH 2/2] PR19372: Keep checking template arguments after we see an
 argument pack expansion into a parameter pack; we know that we're still
 filling in that parameter's arguments. Previously, if we hit this case for an
 alias template, we'd try to substitute using non-canonical template
 arguments.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@221832 91177308-0d34-0410-b5e6-96231b3b80d8

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4109 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141124/f73af5cf/attachment.bin>


More information about the llvm-dev mailing list