Write out argument list to buf.
Write expression out to buf, but wrap it in ( ) if its precedence is less than pr.
This makes a 'pretty' version of the template arguments. It's analogous to genIdent() which makes a mangled version.
An entry point to pretty-print type.