[cfe-dev] Template parameters of friend declarations.

Enea Zaffanella zaffanella at cs.unipr.it
Sat Jan 26 09:03:42 PST 2013


On 01/25/2013 10:57 PM, John McCall wrote:
> On Jan 25, 2013, at 9:44 AM, Enea Zaffanella <zaffanella at cs.unipr.it> wrote:
[...]
>> Please find attached a patch for review, including
>> (de-)serialization and pretty printing of the new info attached to
>> friend type declarations. On a second though, we kept the
>> PointerUnion3 approach, which seems to be simpler (at least, to my
>> eyes) when it comes to deserializing the declaration node.
>
> Please do use post-storage.  You can look at how the template
> parameter packs deserialize themselves for an example of how to get
> the information for how much extra space to allocate;  it's really
> quite straightforward.
>
> John.
>

Here is the revised patch for review.
(Also fixes method getSourceRange).

Enea.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: FriendDecl-2.patch
Type: text/x-diff
Size: 11841 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130126/04f71876/attachment.patch>


More information about the cfe-dev mailing list