[cfe-commits] TypePrinter and C++03 templates

Axel Naumann Axel.Naumann at cern.ch
Thu Jun 28 07:03:39 PDT 2012


Hi,

Attached patch inserts a space between closing template brackets: it 
will print "foo<bar<int> >" instead of "foo<bar<int>>". This is nicer if 
the type is meant to be used as compiler input for C++ <11.

Objections? Or do you prefer this extra ' ' only for C++ <11?

Axel.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang_ASTPrinter_template_close_space.diff
Type: text/x-patch
Size: 2643 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120628/ffd52a0a/attachment.bin>


More information about the cfe-commits mailing list