libclang issue: CXCursor_FunctionTemplate does it work?

Hi,
I'm a happy user of libclang.so
I got in trouble trying to get info from templated function such as

/* File: t.cc */

template <class T1,class T2>
void my_foo(T1 a,T2 b)
{
  
}

I only got CXCursor_FunctionDecl cursor instead of CXCursor_FunctionTemplate
and I don't getting CXCursor_TemplateTypeParameter.
And argument type is Unexposed.

I using 3.1 version with few patches.
Maybe there is patch to handle this, but sorry I didn't found it.