Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-08-25 | Auto merge of #932 - bd339:has_destructor_fp, r=fitzgen | bors-servo | |
Rewrite `has destructor` analysis as a fixed-point analysis Fixes #927 . Note that this creates a dependency between the "cannot derive copy" and "has destructor" analysis, i.e. the "has destructor" analysis must run before the "cannot derive copy" analysis, because "cannot derive copy" needs the results of "has destructor". | |||
2017-08-25 | Rewrite the `has destructor` analysis as a fixed-point analysis in the ↵ | Benjamin Dahse | |
monotone framework | |||
2017-08-24 | Auto merge of #930 - MaloJaffre:simplify_blob, r=fitzgen | bors-servo | |
Simplify helpers::blob Thanks @fitzgen for the detailed instructions. Fixes #928. | |||
2017-08-24 | Simplify helpers::blob | Malo Jaffré | |
Thanks @fitzgen for the detailed instructions. Fixes #928. | |||
2017-08-22 | Auto merge of #919 - photoszzt:has_float, r=fitzgen | bors-servo | |
Can derive Eq Fix: #880 r? @fitzgen | |||
2017-08-21 | Small tests for derive Eq | Zhiting Zhu | |
2017-08-21 | Misc tests for derive Eq | Zhiting Zhu | |
2017-08-21 | Layout related tests for derive Eq | Zhiting Zhu | |
2017-08-21 | Template related tests for derive Eq | Zhiting Zhu | |
2017-08-21 | Anonymous related tests for derive Eq | Zhiting Zhu | |
2017-08-21 | Complex float related tests for derive Eq | Zhiting Zhu | |
2017-08-21 | Function related tests for derive Eq | Zhiting Zhu | |
2017-08-21 | Opaque tests for can derive Eq | Zhiting Zhu | |
2017-08-21 | Class related tests for can derive Eq | Zhiting Zhu | |
2017-08-21 | Struct related tests for can derive Eq | Zhiting Zhu | |
2017-08-21 | Union related tests for can derive Eq | Zhiting Zhu | |
2017-08-21 | Can derive Eq | Zhiting Zhu | |
2017-08-21 | Auto merge of #924 - fitzgen:rename-named-to-ty-param, r=fitzgen | bors-servo | |
Rename `TypeKind::Named` to `TypeKind::TypeParam` Also renames a bunch of other things referring to named types to refer to type parameters. Fixes #915 | |||
2017-08-21 | Rename `TypeKind::Named` to `TypeKind::TypeParam` | Anna Liao | |
Also renames a bunch of other things referring to named types to refer to type parameters. Fixes #915 | |||
2017-08-20 | Auto merge of #922 - tmfink:doc-unions, r=emilio | bors-servo | |
Update doc for unions Addresses #832 I also modified the `--help` text to print the default Rust target. | |||
2017-08-19 | Update doc for unions | Travis Finkenauer | |
Addresses #832 | |||
2017-08-17 | Auto merge of #921 - emilio:recur-incl, r=fitzgen | bors-servo | |
Recursively include src files, since Cargo pattern-matching changed. | |||
2017-08-17 | Recursively include src files, since Cargo pattern-matching changed. | Emilio Cobos Álvarez | |
2017-08-17 | Auto merge of #920 - photoszzt:fix_comments, r=emilio | bors-servo | |
Fix misleading comments r? @fitzgen or @emilio | |||
2017-08-16 | Fix misleading comments | Zhiting Zhu | |
2017-08-16 | Auto merge of #916 - fitzgen:check-if-num-template-args-is-loaded, r=fitzgen | bors-servo | |
Check if `clang_Type_getNumTemplateArguments` is loaded before use Older clang don't have it, and while we can't pass our whole test suite with those older clangs, we can still generate simple C bindings, so it makes sense not to panic for C++ only things. | |||
2017-08-16 | Check if `clang_Type_getNumTemplateArguments` is loaded before use | Nick Fitzgerald | |
Older clang don't have it, and while we can't pass our whole test suite with those older clangs, we can still generate simple C bindings, so it makes sense not to panic for C++ only things. | |||
2017-08-14 | Auto merge of #913 - fitzgen:only-partialeq-if-needed, r=photoszzt | bors-servo | |
Only compute which types we can derive PartialEq for if we'll use it If we aren't going to derive `PartialEq`, then it doesn't make sense to even run the analysis. r? @photoszzt or @emilio | |||
2017-08-14 | Only compute which types we can derive PartialEq for if we'll use it | Nick Fitzgerald | |
If we aren't going to derive `PartialEq`, then it doesn't make sense to even run the analysis. | |||
2017-08-14 | Auto merge of #912 - fitzgen:only-run-analyses-if-needed, r=emilio | bors-servo | |
Only run analyses when we are going to use their results Currently, there are various analyses related to deriving various traits that we unconditionally run. However, if we aren't going to derive those traits in codegen, then computing whether or not we can derive the traits is wasteful. r? @emilio | |||
2017-08-14 | Only run analyses when we are going to use their results | Nick Fitzgerald | |
Currently, there are various analyses related to deriving various traits that we unconditionally run. However, if we aren't going to derive those traits in codegen, then computing whether or not we can derive the traits is wasteful. | |||
2017-08-14 | Auto merge of #907 - photoszzt:derive_partial_eq, r=fitzgen | bors-servo | |
Derive PartialEq Analysis Fix: #878 r? @fitzgen | |||
2017-08-14 | Small tests for derive PartialEq | Zhiting Zhu | |
2017-08-14 | Misc tests for derive PartialEq | Zhiting Zhu | |
2017-08-14 | Layout related tests for derive PartialEq | Zhiting Zhu | |
2017-08-14 | Template related tests for derive PartialEq | Zhiting Zhu | |
2017-08-14 | Anonymous related tests for derive PartialEq | Zhiting Zhu | |
2017-08-14 | Complex float related tests for derive PartialEq | Zhiting Zhu | |
2017-08-14 | Function related tests for derive PartialEq | Zhiting Zhu | |
2017-08-14 | Opaque related tests for derive PartialEq | Zhiting Zhu | |
2017-08-14 | Class related tests for derive PartialEq | Zhiting Zhu | |
2017-08-14 | Struct related tests for derive PartialEq | Zhiting Zhu | |
2017-08-14 | Union related tests for derive PartialEq | Zhiting Zhu | |
2017-08-14 | Can derive PartialEq analysis | Zhiting Zhu | |
2017-08-14 | Auto merge of #905 - bkchr:rustfmt, r=fitzgen | bors-servo | |
Adds support for running rustfmt on generated bindings This patch enables bindgen to run rustfmt on generated bindings. Rustfmt is used from the global PATH. Two new command-line arguments are added: 1. --format-bindings: Enables running rustfmt 2. --format-configuration-file: The configuration file for rustfmt (not required). Fixes: #900 | |||
2017-08-14 | Disables --rustfmt-bindgens by default | Bastian Köcher | |
2017-08-14 | Improves error handling for rustfmt | Bastian Köcher | |
2017-08-14 | Renames format-* command-line arguments to rustfmt-* | Bastian Köcher | |
The --rustfmt-configuration-file command-line argument automatically activates --rustfmt-bindings. | |||
2017-08-14 | Fixes compilation warnings with rustc 1.21.0-nightly (13d94d5fa 2017-08-10) | Bastian Köcher | |
2017-08-14 | Adds support for running rustfmt on generated bindings | Bastian Köcher | |
This patch enables bindgen to run rustfmt on generated bindings. Rustfmt is used from the global PATH. Two new command-line arguments are added: 1. --format-bindings: Enables running rustfmt 2. --format-configuration-file: The configuration file for rustfmt (not required). |