[libclang] Get result type for template function

Dear all,

I'm trying to get the result type of a template function declaration
using clang_getCursorResultType. This however results in a Invalid
type. Do I need some other API to get the result of a template
function?

Jesse

Dear all,

I'm trying to get the result type of a template function declaration
using clang_getCursorResultType. This however results in a Invalid
type. Do I need some other API to get the result of a template
function?

Could you post a reduced test case ?