Hi,

clang -cc1 -ast-print currently doesn't know about template template
parameters:

  $ echo -e 'template<template<typename T> class> void f();' | clang++
-cc1 -std=c++98 -ast-print
  [...]
  template <> void f();

The attached patch teaches it to print them (though any default argument
is not yet printed). OK to commit?

Thanks,
Richard

Attachment: ast-print-template-template-parm
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to