diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2016-12-15 16:57:32 +0100 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2016-12-15 16:57:32 +0100 |
commit | 31bd2d3a1ffa47e15b0701761966fc836c9da99d (patch) | |
tree | 7a53b093e80237a38e378b6d6d9d6b7105dcd645 /libbindgen/src/ir/function.rs | |
parent | 0ec5a6aa25bda273781a6569107b82c65cf004c3 (diff) |
ir: Don't parse standalone destructors.
Diffstat (limited to 'libbindgen/src/ir/function.rs')
-rw-r--r-- | libbindgen/src/ir/function.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbindgen/src/ir/function.rs b/libbindgen/src/ir/function.rs index a068097d..76576dbd 100644 --- a/libbindgen/src/ir/function.rs +++ b/libbindgen/src/ir/function.rs @@ -242,9 +242,9 @@ impl ClangSubItemParser for Function { -> Result<ParseResult<Self>, ParseError> { use clang_sys::*; match cursor.kind() { + // FIXME(emilio): Generate destructors properly. CXCursor_FunctionDecl | CXCursor_Constructor | - CXCursor_Destructor | CXCursor_CXXMethod => {} _ => return Err(ParseError::Continue), }; |