Error with hasTemplateArgument in clang-querry for FunctionDecl

Hello,

The example shown on the official page for hasTemplateArgument with FunctionDecldoes not work with clang-query-3.9

functionDecl(hasTemplateArgument(0, refersToType(asString("int"))))

I get the following error

clang-query > m functionDecl(hasTemplateArgument(1,refersToType(asString("int"))))
1:2: Error building matcher functionDecl.
1:15: Incorrect type for arg 1. (Expected = Matcher<FunctionDecl>) != (Actual = Matcher<ClassTemplateSpecializationDecl|TemplateSpecializationType>)

Regards,

David Côme