[cfe-dev] Result Type of a Template Function

Tobias Guennewig t_guen03 at uni-muenster.de
Sun Jul 10 09:16:55 PDT 2011


i wonder if there is a way to retrieve the return type of a template
function. The function clang_getResultType works for cursors, whose
'kind' property is CXCursor_FunctionDecl. For a
CXCursor_FunctionTemplate it says, 'CXType_Invalid'. Can someone tell me
the reason for this behavior?


More information about the cfe-dev mailing list