Parse cpp_member_variable and cpp_bitfield

This commit is contained in:
Jonathan Müller 2017-02-25 11:17:18 +01:00
commit c87b296d4e
8 changed files with 238 additions and 18 deletions

View file

@ -143,7 +143,8 @@ namespace
}
}
else if (clang_isExpression(clang_getCursorKind(cur))
|| clang_getCursorKind(cur) == CXCursor_CXXBaseSpecifier)
|| clang_getCursorKind(cur) == CXCursor_CXXBaseSpecifier
|| clang_getCursorKind(cur) == CXCursor_FieldDecl)
// need to shrink range by one
end = get_next_location(tu, file, end, -1);