summaryrefslogtreecommitdiff
path: root/libbindgen/tests/headers
AgeCommit message (Collapse)Author
2016-11-21codegen: Fix whitelisting inside namespaces.Emilio Cobos Álvarez
2016-11-18Do not evaluate variadic template typesNick Fitzgerald
This is a workaround for an internal clang assertion that gets triggered if we try to evaluate a variadic template type reference. Fixes #283
2016-11-18Auto merge of #207 - Natim:130-cursor-args-return-vector, r=emiliobors-servo
clang::Cursor::args should return an Option<Vec<Cursor>> Attempt to fix #130
2016-11-18Auto merge of #281 - fitzgen:namespace-mangle-rust-symbols, r=emiliobors-servo
Include namespaces in mangled symbols When we aren't using `--enable-cxx-namespaces`, we can end up with conflicting struct symbol names that we need to disambiguate. The solution is to mangle the namespaced C++ symbol "foo::bar::Baz" into the Rust "foo_bar_Baz" symbol. This did change the way anonymous types and modules get named a little, but I think our approach is much more sane now than it was before. Fixes #267. r? @emilio
2016-11-18Add a testRémy HUBSCHER
2016-11-18Include namespaces in mangled symbolsNick Fitzgerald
When we aren't using `--enable-cxx-namespaces`, we can end up with conflicting struct symbol names that we need to disambiguate. The solution is to mangle the namespaced C++ symbol "foo::bar::Baz" into the Rust "foo_bar_Baz" symbol.
2016-11-18codegen: Properly mangle bitfield getters.Emilio Cobos Álvarez
2016-11-17ir: Avoid generating out-of-range values in constants.Emilio Cobos Álvarez
Fixes #274
2016-11-17Generate bool value for bool constantsXidorn Quan
This fixes #272.
2016-11-16ir: context: fall back to use the declaration as a key when there's no USR.Emilio Cobos Álvarez
Apparently MSVC isn't that good at giving us USRs... Fixes #271
2016-11-16Multiple constant generation evaluation improvements.Emilio Cobos Álvarez
2016-11-16Transition to libbindgen sub-crateJeff Waugh
- The root crate is the `bindgen` binary - Rust-ify the test suite, no more subprocesses! - Update Travis config to test both crates