Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-01-23 | Unify under the `bindgen` name. | Emilio Cobos Álvarez | |
2017-01-19 | Auto merge of #397 - emilio:trace-vars, r=fitzgen | bors-servo | |
ir: Trace types across vars. r? @fitzgen | |||
2017-01-19 | ir: Fix the assert no danging items traversal to avoid getting hung on a ↵ | Emilio Cobos Álvarez | |
cyclic reference caused by inner_const.hpp. | |||
2017-01-13 | Update aster and syntex. | Emilio Cobos Álvarez | |
2017-01-11 | ir: Handle inline namespaces. | Emilio Cobos Álvarez | |
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io> | |||
2017-01-10 | ir: Add a helper to the context to access the user-provided type chooser. | Emilio Cobos Álvarez | |
2017-01-05 | Allow regexps for --blacklist_type and --opaque_type | Jeremy Fitzhardinge | |
2016-12-30 | Auto merge of #374 - fitzgen:derive-debug-with-array-too-big, r=emilio | bors-servo | |
Derive debug with array too big See the first commit's message for details, second commit is just `rustfmt`. r? @emilio Not quite sure whether the `Opaque` struct is fully motivated... it seems like it would be useful later on in codegen, but might not be pulling its own weight without more usage... | |||
2016-12-29 | Do not derive Copy/Debug for some opaque types | Nick Fitzgerald | |
When we treat a type as opaque, either because it is explicitly annotated as such or because it is a template that has a non-type parameter, we need to check if the size is larger than RUST_DERIVE_IN_ARRAY_LIMIT. Performing this check requires information that is up the stack, in the `Item` rather than in the `CompInfo` or `Type`. Therefore, I introduced two traits to encapsulate whether a thing can derive `Debug` and `Copy` (the `CanDeriveDebug` and `CanDeriveCopy` traits, respectively) and implemented them for ALL THE THINGS. This allowes us to perform our various checks at the level where we have access to the necessary info, and to let sub-levels do their own checks with their sub-info. Fixes #372. | |||
2016-12-29 | Replace all non-fatal `error!`s with `warn!`s | Tetsuharu OHZEKI | |
2016-12-23 | libbindgen: run `cargo fmt`. | Emilio Cobos Álvarez | |
2016-12-15 | Use a feature to control dangling item assertions | Nick Fitzgerald | |
These checks are expensive enough that we only want to do them when hacking on bindgen itself, not anytime someone does a debug build of something that depends on bindgen. | |||
2016-12-15 | Add assertion for dangling references | Artem Biryukov | |
2016-12-13 | Use clang-sys bindings instead of ours. | Emilio Cobos Álvarez | |
I plan to use a dynamically loaded clang-sys library to remove the llvm-stable feature. This is part of the work. | |||
2016-12-09 | Upgrade deps to have syntex 0.50 | Xidorn Quan | |
2016-12-07 | ir: Move duplicated checks into a function. | Emilio Cobos Álvarez | |
2016-12-07 | ir: Saner whitelisting/blacklisting. | Emilio Cobos Álvarez | |
2016-12-07 | ir: Auto-whitelist replacements. | Emilio Cobos Álvarez | |
2016-12-02 | Unify naming methods into a single method + options builder type | Artem Biryukov | |
This an implementation of `NameOptions` structure which will hold flags for building a name string. This fixes related to issue #201 | |||
2016-11-24 | Add a new disable-name-namespacing option. | Emilio Cobos Álvarez | |
2016-11-22 | ir: Rework how we discover children of modules. | Emilio Cobos Álvarez | |
2016-11-22 | A more coherent story for whitelisting. | Emilio Cobos Álvarez | |
2016-11-22 | ir: Deduplicate namespaces. | Emilio Cobos Álvarez | |
2016-11-21 | Reformat. | Emilio Cobos Álvarez | |
2016-11-21 | codegen: Fix whitelisting inside namespaces. | 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 | reformat. | Emilio Cobos Álvarez | |
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 |