ΒΆunsigned int clang_TParamCommandComment_getIndex(
CXComment Comment,
unsigned int Depth)
unsigned int clang_TParamCommandComment_getIndex(
CXComment Comment,
unsigned int Depth)
Description
For example, for C and TT nesting depth is 0, so we can ask for index at depth 0: at depth 0 C's index is 0, TT's index is 1. For T nesting depth is 1, so we can ask for index at depth 0 and 1: at depth 0 T's index is 1 (same as TT's), at depth 1 T's index is 0.
Declared at: clang/include/clang-c/Documentation.h:476
Parameters
- CXComment Comment
- a \c CXComment_TParamCommand AST node.
- unsigned int Depth
Returns
zero-based parameter index in the template parameter list at a given nesting depth.