[cfe-commits] [PATCH] AST Matchers: function and class template matchers
Dmitri Gribenko
gribozavr at gmail.com
Fri Aug 17 10:47:04 PDT 2012
Hello,
The attached patch introduces functionTemplate(), classTemplate() and
isExplicitTemplateSpecialization() matchers which do what their name
says.
Please review.
Dmitri
--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: astmatchers-class-and-function-templates-v1.patch
Type: application/octet-stream
Size: 6550 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120817/af1f361c/attachment.obj>
More information about the cfe-commits
mailing list