summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-05-06update the versionLokathor
2019-05-06Readme badgesLokathor
2019-05-06Explain LIBCLANG_PATHLokathor
2019-05-06this file is not used anywhereLokathor
2019-05-06Remove unused mut.Emilio Cobos Álvarez
2019-04-26Remove redundant imports.Emilio Cobos Álvarez
2019-03-27Merge pull request #1545 from emilio/bumpv0.49.0Emilio Cobos Álvarez
Release 0.49.0.
2019-03-27Version bump.Emilio Cobos Álvarez
2019-03-27Update lockfile for #1539.Emilio Cobos Álvarez
Closes #1539.
2019-03-27Bump clang-sys to 0.28.0Robert-André Mauchin
Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>
2019-03-26Merge pull request #1543 from emilio/include-pathEmilio Cobos Álvarez
options: Add an option to opt-out of include path detection.
2019-03-26options: Add an option to opt-out of include path detection.Emilio Cobos Álvarez
And don't do it conditionally on the presence of --target. We pass the clang arguments to clang-sys now, so it doesn't get the wrong path.
2019-03-26Merge pull request #1492 from emilio/non-recursive-deriveEmilio Cobos Álvarez
ir: Whitelist items that don't generate code to improve derive behavior.
2019-03-25ir: Whitelist items that don't generate code to improve derive behavior.Emilio Cobos Álvarez
When not whitelisting recursively. Fixes #1454
2019-03-22Merge pull request #1540 from jethrogb/unify-deriveEmilio Cobos Álvarez
Unify derive
2019-03-21Derive Default for function pointersJethro Beekman
2019-03-21Unify derive logicJethro Beekman
2019-03-20Enable logging in test suiteJethro Beekman
2019-03-15Merge pull request #1537 from jhwgh1968/clang_env_argsEmilio Cobos Álvarez
Add BINDGEN_EXTRA_CLANG_ARGS env variable
2019-03-13Add BINDGEN_EXTRA_CLANG_ARGS env variablejhwgh1968
2019-03-11Merge pull request #1536 from flowbish/fix_1535Emilio Cobos Álvarez
Fix issue #1535: use correct names for function parameters in function pointer arguments.
2019-03-10fix issue #1535Porter Smith
2019-03-06Merge pull request #1531 from emilio/ref-layoutv0.48.1Emilio Cobos Álvarez
Work around a libclang bug / limitation.
2019-03-06Work around a libclang bug / limitation.Emilio Cobos Álvarez
For references, libclang returns the size and align of the pointee. This actually matches how C++'s sizeof() and alignof() works, for some reason, though in this case we really want to know the pointer's layout. Anyhow, we know the target pointer size, so manually handle this case. Filed https://bugs.llvm.org/show_bug.cgi?id=40975 for this.
2019-03-04Merge pull request #1530 from emilio/rustupEmilio Cobos Álvarez
Update default rust target to 1.33.
2019-03-04integration: Fix integration tests with rust 1.33.v0.48.0Emilio Cobos Álvarez
Alignment arrays are not needed anymore, since we have repr(align).
2019-03-04codegen: Properly track alignment of unions.Emilio Cobos Álvarez
This makes us not unnecessarily add repr(align) to unions. Closes #1498.
2019-03-04Update default rust target to 1.33.Emilio Cobos Álvarez
Closes #1529.
2019-02-25Allow to use which 1.0.v0.47.3Emilio Cobos Álvarez
It builds fine, and works around backtrace not building in aarch64. https://github.com/alexcrichton/backtrace-rs/issues/160
2019-02-23Merge pull request #1525 from emilio/llvm-bug-workaroundv0.47.2Emilio Cobos Álvarez
Work-around https://bugs.llvm.org/show_bug.cgi?id=40813.
2019-02-22Bump version.Emilio Cobos Álvarez
2019-02-22Work-around https://bugs.llvm.org/show_bug.cgi?id=40813.Emilio Cobos Álvarez
This fixes a crash when using non-deductible auto types.
2019-02-11Merge pull request #1519 from flier/fix-one-argument-block-pointerEmilio Cobos Álvarez
fix one argument block pointer issue, #1378
2019-02-11fix one argument block pointer issue, #1378Flier Lu
2019-02-05Merge pull request #1517 from Niederb/small-tutorial-fixEmilio Cobos Álvarez
Small fix in tutorial
2019-02-05Small fix in tutorialThomas Niederberger
2019-02-04Merge pull request #1515 from emilio/implicit-baseEmilio Cobos Álvarez
codegen: Append implicit template parameters to base members.
2019-02-04codegen: Append implicit template parameters to base members.Emilio Cobos Álvarez
Fixes #1514
2019-02-03Merge pull request #1508 from flowbish/function_ptr_return_typeEmilio Cobos Álvarez
Add an alternate path determining the arguments for a function.
2019-02-03Rework the way that argument types and names are found from function signatures.Porter Smith
This fixes the issue seen in #1500 where function pointers as a return type have their parameters incorrectly generated. This also fixes a broken test case, objc_property_fnptr, as its types are now generated correctly.
2019-02-03Merge pull request #1513 from emilio/issue-1464Emilio Cobos Álvarez
ir: Ignore constructors with bogus spellings.
2019-02-03ir: Ignore constructors with bogus spellings.Emilio Cobos Álvarez
2019-02-03fuzzing: Add a --release flag to the predicate script.Emilio Cobos Álvarez
When you're not testing for debug assertions this is much faster.
2019-01-29Merge pull request #1505 from emilio/revert-clang-sys-upv0.47.1Emilio Cobos Álvarez
Revert #1489.
2019-01-29Version bump.Emilio Cobos Álvarez
2019-01-27Revert "Merge pull request #1489 from KyleMayes/clang-sys"Emilio Cobos Álvarez
This reverts commit 0d004a726d932cec27d94499e48bc7e3943cb457, reversing changes made to 2a01e8d499d71e596e4b02f8fd6897f061405e1a.
2019-01-25Merge pull request #1501 from luser/better-missing-rustfmt-errorEmilio Cobos Álvarez
Produce a more useful error message when rustfmt can't be found. Fixes #1205
2019-01-25Produce a more useful error message when rustfmt can't be found. Fixes #1205Ted Mielczarek
Prior to this change bindgen would simply print any error that occurred while attempting to run rustfmt straight to stderr using fmt::Debug. Combined with the fact that rustfmt is enabled by default now this meant that if rustfmt was missing or not working a cryptic error would be printed.
2019-01-25Fix gitignore so ripgrep worksTed Mielczarek
ripgrep was failing to search in the bindgen repo: ``` ./.gitignore: line 19: error parsing glob '**.orig': invalid use of **; must be one path component ``` Per the gitignore docs it seems like ripgrep is correct and this line is invalid: https://git-scm.com/docs/gitignore#_pattern_format
2019-01-19Bump version and update changelog.v0.47.0Emilio Cobos Álvarez