summaryrefslogtreecommitdiff
path: root/bindgen
AgeCommit message (Collapse)Author
2022-10-10Merge pull request #2299 from ferrous-systems/more-robust-postprocessingChristian Poveda
Make postprocessing more robust
2022-10-07Implement `Clone` for `Builder`Christian Poveda
This is done by moving all the remaining `Builder` state into `BindgenOptions` so any internal logic that affects `Builder` state only runs once the builder is consumed by `Builder::generate`: - move `input_headers` to `BindgenOptions`. - move `input_header_contents` to `BindgenOptions`. - derive `Clone` for `Builder`.
2022-10-06Make postprocessing more robustChristian Poveda
This is done by merging extern blocks and sorting items in every module instead of just in the root module. The tests were changed to use `cxx` namespaces so they effectively check that items are manipulated correctly in every single module.
2022-10-06Merge branch 'master' into generated_name_overrideJustin Smith
2022-10-05context: Fix tokenization of C++20 inline namespace. (#2294)Emilio Cobos Álvarez
Fixes #2293
2022-10-04split the repo into a workspaceChristian Poveda
remove `clap` dependency :tada: update the book installation instructions
2017-01-23Unify under the `bindgen` name.Emilio Cobos Álvarez
2017-01-16Update env_logger.Ms2ger
2017-01-11ir: Handle inline namespaces.Emilio Cobos Álvarez
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2016-12-29Replace all non-fatal `error!`s with `warn!`sTetsuharu OHZEKI
2016-12-23libbindgen: run `cargo fmt`.Emilio Cobos Álvarez
2016-12-16Fix an unused_mut warningXidorn Quan
2016-12-14Use a dynamically loaded clang to do as much as we can with old clang ↵Emilio Cobos Álvarez
versions, and experiment with new ones. It's a pity that we don't support clang 3.7 and similar for generating C bindings, when it should be straight-forward. This should allow us to support older clang versions, and also experiment with pre-release clang APIs if needed. This depends on: https://github.com/KyleMayes/clang-sys/pull/44
2016-12-11lib: Do the path fixup inside the library, so users of the library don't ↵Emilio Cobos Álvarez
have to do this themselves.
2016-12-09Use a shared workspace for bindgen, libbindgen, and test_expectationsNick Fitzgerald