Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-11-18 | Auto merge of #207 - Natim:130-cursor-args-return-vector, r=emilio | bors-servo | |
clang::Cursor::args should return an Option<Vec<Cursor>> Attempt to fix #130 | |||
2016-11-18 | Auto merge of #281 - fitzgen:namespace-mangle-rust-symbols, r=emilio | bors-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-18 | Include namespaces in mangled symbols | Nick 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-17 | Make `ir::Item::is_module` public | Nick Fitzgerald | |
2016-11-18 | codegen: Properly mangle bitfield getters. | Emilio Cobos Álvarez | |
2016-11-17 | Attempt to fix #130 — clang::Cursor::args should return an Option<Vec<Cursor>> | Rémy HUBSCHER | |
2016-11-17 | ir: Avoid generating out-of-range values in constants. | Emilio Cobos Álvarez | |
Fixes #274 | |||
2016-11-17 | Generate bool value for bool constants | Xidorn Quan | |
This fixes #272. | |||
2016-11-16 | Auto merge of #260 - emilio:macro-str, r=fitzgen | bors-servo | |
Constant variable improvements. Fixes #256. r? @fitzgen | |||
2016-11-16 | Address review comments. | Emilio Cobos Álvarez | |
2016-11-16 | ir: 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-16 | libbindgen: Make logging optional | Jeff Waugh | |
Note that the log crate isn't completely banished, as other is required by other dependencies. | |||
2016-11-16 | ir: var: Missing docs. | Emilio Cobos Álvarez | |
2016-11-16 | Multiple constant generation evaluation improvements. | Emilio Cobos Álvarez | |
2016-11-16 | reformat. | Emilio Cobos Álvarez | |
2016-11-16 | clang: Evaluate more complex constant expressions in variables. | Emilio Cobos Álvarez | |
2016-11-16 | clang: Don't leak all the strings in the world. | Emilio Cobos Álvarez | |
2016-11-16 | clangll: Add bindings to CXEvalResult | Emilio Cobos Álvarez | |
2016-11-15 | Auto merge of #266 - fitzgen:little-logging-things, r=emilio | bors-servo | |
Little logging things Little things. See commit messages for details. r? @emilio | |||
2016-11-15 | Add `debug!` logging in code generation | Nick Fitzgerald | |
This instruments each `CodeGenerator` implementation with a `debug!` logging macro. | |||
2016-11-15 | Clean up AST dumping | Nick Fitzgerald | |
This adds labels to each thing that gets printed for each AST node, and uses a range for indent iteration rather than an index variable. | |||
2016-11-15 | Add an option to emit our ir for debugging | Nick Fitzgerald | |
Similar to our ability to emit the clang AST, this adds an option to emit our IR for debugging purposes. | |||
2016-11-16 | Transition to libbindgen sub-crate | Jeff Waugh | |
- The root crate is the `bindgen` binary - Rust-ify the test suite, no more subprocesses! - Update Travis config to test both crates |