summaryrefslogtreecommitdiff
path: root/libbindgen
AgeCommit message (Collapse)Author
2016-11-17Generate bool value for bool constantsXidorn Quan
This fixes #272.
2016-11-17Rerun build script when new test is addedXidorn Quan
2016-11-16Auto merge of #260 - emilio:macro-str, r=fitzgenbors-servo
Constant variable improvements. Fixes #256. r? @fitzgen
2016-11-16Address review comments.Emilio Cobos Álvarez
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-16libbindgen: Make logging optionalJeff Waugh
Note that the log crate isn't completely banished, as other is required by other dependencies.
2016-11-16ir: var: Missing docs.Emilio Cobos Álvarez
2016-11-16Don't ignore errors in the test suite.Emilio Cobos Álvarez
2016-11-16Multiple constant generation evaluation improvements.Emilio Cobos Álvarez
2016-11-16reformat.Emilio Cobos Álvarez
2016-11-16clang: Evaluate more complex constant expressions in variables.Emilio Cobos Álvarez
2016-11-16clang: Don't leak all the strings in the world.Emilio Cobos Álvarez
2016-11-16clangll: Add bindings to CXEvalResultEmilio Cobos Álvarez
2016-11-15Auto merge of #266 - fitzgen:little-logging-things, r=emiliobors-servo
Little logging things Little things. See commit messages for details. r? @emilio
2016-11-15Add `debug!` logging in code generationNick Fitzgerald
This instruments each `CodeGenerator` implementation with a `debug!` logging macro.
2016-11-15Clean up AST dumpingNick 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-15Auto merge of #264 - fitzgen:emit-ir, r=emiliobors-servo
Add an option to emit our ir for debugging Similar to our ability to emit the clang AST, this adds an option to emit our IR for debugging purposes. This can wait to land until after #204 is merged. r? @emilio
2016-11-15Add an option to emit our ir for debuggingNick Fitzgerald
Similar to our ability to emit the clang AST, this adds an option to emit our IR for debugging purposes.
2016-11-16Generate a separate test function for every headerJeff Waugh
- Header tests can now be run selectively, e.g. `cargo test union` will test all headers with 'union' in the file name. - The list of test functions is generated by `build.rs`, so never needs to be updated. - Clever approach suggested by @fitzgen.
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