Fix missing paren in destructor tokens
This commit is contained in:
parent
f596ef398f
commit
9590b63c2c
1 changed files with 3 additions and 0 deletions
|
|
@ -135,6 +135,9 @@ namespace
|
||||||
else if (kind == CXCursor_CXXMethod)
|
else if (kind == CXCursor_CXXMethod)
|
||||||
// necessary for some reason
|
// necessary for some reason
|
||||||
begin = get_next_location(tu, file, begin, -1);
|
begin = get_next_location(tu, file, begin, -1);
|
||||||
|
else if (kind == CXCursor_Destructor && token_after_is(tu, file, cur, end, ")"))
|
||||||
|
// necessary for some other reason
|
||||||
|
end = get_next_location(tu, file, end);
|
||||||
}
|
}
|
||||||
else if (kind == CXCursor_TemplateTypeParameter && token_after_is(tu, file, cur, end, "("))
|
else if (kind == CXCursor_TemplateTypeParameter && token_after_is(tu, file, cur, end, "("))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue