[cfe-commits] [PATCH][Windows] Mangle expression template arguments of pointer and reference types

Evgeny Eltsin eaeltsin at google.com
Wed Nov 14 02:32:32 PST 2012


Hi,

This patch adds mangling of expression template arguments of pointer and
reference types.

I had to add a separate test for the case when template argument of pointer
type is instantiated with 0/NULL/nullptr, as Clang only accepts that in
C++11 mode (otherwise, it complains that 'non-type template argument does
not refer to any declaration' - not sure if it is a bug or not, but
implementation looks like that is intentional).

wbr,
Evgeny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121114/36cf0e9c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: expr_template.diff
Type: application/octet-stream
Size: 5500 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121114/36cf0e9c/attachment.obj>


More information about the cfe-commits mailing list