We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f02edbe + 8f0320d commit a24cabfCopy full SHA for a24cabf
libbindgen/src/ir/item.rs
@@ -950,16 +950,21 @@ impl ClangItemParser for Item {
950
CXCursor_MacroDefinition |
951
CXCursor_MacroExpansion |
952
CXCursor_UsingDeclaration |
953
+ CXCursor_UsingDirective |
954
CXCursor_StaticAssert |
955
CXCursor_InclusionDirective => {
956
debug!("Unhandled cursor kind {:?}: {:?}",
957
cursor.kind(),
958
cursor);
959
}
960
_ => {
- error!("Unhandled cursor kind {:?}: {:?}",
961
- cursor.kind(),
962
- cursor);
+ // ignore toplevel operator overloads
+ let spelling = cursor.spelling();
963
+ if !spelling.starts_with("operator") {
964
+ error!("Unhandled cursor kind {:?}: {:?}",
965
+ cursor.kind(),
966
+ cursor);
967
+ }
968
969
970
0 commit comments