Skip to content

Commit

Permalink
Also handle class templates
Browse files Browse the repository at this point in the history
References #1.
  • Loading branch information
Sven Strothoff committed May 15, 2014
1 parent 7476bc1 commit eea135b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugin/clang_doxygen.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,8 @@ def generateDoxygenForSourceLocation(line, col):
return handleFunctionTemplate(c)
elif c.kind == CursorKind.CLASS_DECL:
return handleClassDecl(c)
elif c.kind == CursorKind.CLASS_TEMPLATE:
return handleClassDecl(c)
# Cursor is not on a supported type, go to the lexical parent
else:
c = c.lexical_parent
Expand Down

0 comments on commit eea135b

Please sign in to comment.