Ensure compatibility with clang 4.0.0
There are some bug fixes for libclang, so now some workarounds were broken.
This commit is contained in:
parent
e10a41fea8
commit
dc5abeb785
5 changed files with 24 additions and 13 deletions
|
|
@ -81,9 +81,7 @@ namespace
|
|||
detail::skip(stream, "virtual");
|
||||
detail::skip_if(stream, to_string(access));
|
||||
|
||||
std::string name;
|
||||
while (!stream.done())
|
||||
name += stream.get().c_str();
|
||||
auto name = detail::to_string(stream, stream.end());
|
||||
|
||||
auto type = detail::parse_type(context, class_cur, clang_getCursorType(cur));
|
||||
builder.base_class(std::move(name), std::move(type), access, is_virtual);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue