parent
72850d4362
commit
000febb999
2 changed files with 10 additions and 2 deletions
|
|
@ -19,8 +19,11 @@ cpp_class_kind parse_class_kind(detail::cxtoken_stream& stream)
|
|||
kind = clang_getCursorKind(stream.cursor());
|
||||
|
||||
if (detail::skip_if(stream, "template"))
|
||||
{
|
||||
// skip template parameters
|
||||
detail::skip_brackets(stream);
|
||||
if (!stream.done() && *stream.cur() == "<")
|
||||
detail::skip_brackets(stream);
|
||||
}
|
||||
|
||||
detail::skip_if(stream, "friend");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue