ΒΆenum CXTemplateArgumentKind
clang_Cursor_getTemplateArgumentKind(
CXCursor C,
unsigned int I)
enum CXTemplateArgumentKind
clang_Cursor_getTemplateArgumentKind(
CXCursor C,
unsigned int I)
Description
Retrieve the kind of the I'th template argument of the CXCursor C. If the argument CXCursor does not represent a FunctionDecl, an invalid template argument kind is returned. For example, for the following declaration and specialization: template <typename T, int kInt, bool kBool> void foo() { ... } template < > void foo <float , -7, true>(); For I = 0, 1, and 2, Type, Integral, and Integral will be returned, respectively.
Declared at: clang/include/clang-c/Index.h:3628
Parameters
- CXCursor C
- unsigned int I