summaryrefslogtreecommitdiff
path: root/tests/headers/class_with_inner_struct.hpp
AgeCommit message (Collapse)Author
2018-07-29Quote regexes in test headersJosh Hejna
When using test-one.sh, unquoted wildcards are expanded by the shell, resulting in failing tests.
2017-09-11Make bindgen generate enums as constants by defaultCldfire
Also simplifies the logic that determines which enum variation gets chosen.
2017-08-21Class related tests for can derive EqZhiting Zhu
2017-08-14Class related tests for derive PartialEqZhiting Zhu
2017-08-09Class related tests for derive HashZhiting Zhu
2017-08-04Revert "Add --rust-target to replace --unstable-rust"Nick Fitzgerald
This reverts commit 0bb7b9f1c4652f63f41eba4064b79c044fd3d955. It turns out our CI stopped running test expectations in an earlier regression (from d73507e; fix incoming) and so this pull request actually introduced a bunch of failures when compiling the test expectations and running their unit tests :(
2017-08-04Add --rust-target to replace --unstable-rustTravis Finkenauer
Instead of specifying whether or not to use stable, specify the Rust release to support (one of several stable/beta releases or nightly). The --unstable-rust option is still accepted and implies nightly. The definitions of `RustTarget` and `RustFeatures` are created with macros. For each test that uses unions, there is a version that uses the latest stable release and stable 1.0.
2017-01-23Unify under the `bindgen` name.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
2016-08-26Use docopt for argument parsingNick Fitzgerald
This commit switches bindgen over to using the docopt crate for argument parsing instead of manual argument parsing. This required two notable changes in the arguments and flags style: 1. All flags of the form `-foo` are now of the form `--foo`. 2. We can no longer pass unknown flags straight through to clang. Instead, the user appends `--` after the bindgen flags and input header, after which point any more flags and arguments get collected and passed to clang. This required changes to the test runner and the `// bindgen-flags` comments.
2016-04-16tests: Annotate and add more testsEmilio Cobos Álvarez
2016-04-02gen: Generate correctly nested members of unionsEmilio Cobos Álvarez
2016-03-25parser: Generate fields for anonymous unionsEmilio Cobos Álvarez
2016-03-23gen: Mangle inner struct names, and don't generate a field for themEmilio Cobos Álvarez
The field generation was plain incorrect