Aleksey Kovalevsky
2012-Nov-27 18:07 UTC
[LLVMdev] 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.
Reasonably Related Threads
- Manipulating has_many :through associations
- [LLVMdev] Parsing C++ template parameters using cindex.py
- Stats question: Comparison of the same individuals during two exposure times
- Is there a C++ API for libclang to have full access to the AST ?
- [LLVMdev] Linking Debug+Asserts Shared Library libclang.so: final link failed: Bad value
