summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-07-31Auto merge of #873 - photoszzt:cleanup_derive_debug, r=fitzgenbors-servo
Clean up left over derive debug nits r? @fitzgen
2017-07-31Clean up left over derive debug nitszzhu
2017-07-31Auto merge of #861 - photoszzt:derive_default, r=fitzgenbors-servo
Can derive default analysis r? @fitzgen
2017-07-31Auto merge of #865 - fitzgen:release-announcements-template, r=emilio,nrc,tmfinkbors-servo
Add a template for release announcements And a script to find all the folks who contributed to the release. Anything we should add or remove to the release announcement template? Once we've hashed this out, I'll make the first release announcement thread on u.r-l.o :-) r? @emilio @nrc
2017-07-31Add a template for release announcementsNick Fitzgerald
And a script to find all the folks who contributed to the release.
2017-07-31Auto merge of #872 - upsuper:ptr-array-name, r=emiliobors-servo
Stablize name of pointer and array This fixes #871.
2017-07-31Stablize name of pointer and arrayXidorn Quan
2017-07-28Auto merge of #863 - fitzgen:rm-used, r=emiliobors-servo
Remove the incomplete `--dummy-uses` feature This would generate dummy uses of all the whitelisted types, which we were planning on eventually using to generate DWARF for more layout testing of our types, but we decided that isn't worth the trouble. Kill it! r? @emilio
2017-07-28Remove the incomplete `--dummy-uses` featureNick Fitzgerald
This would generate dummy uses of all the whitelisted types, which we were planning on eventually using to generate DWARF for more layout testing of our types, but we decided that isn't worth the trouble. Kill it!
2017-07-27Auto merge of #860 - emilio:issue-848, r=fitzgenv0.29.0bors-servo
lib: Filter out include paths when looking for clang paths. Fixes #848
2017-07-27can derive default analysiszzhu
2017-07-28Major version bump.Emilio Cobos Álvarez
2017-07-28Test for #848.Emilio Cobos Álvarez
2017-07-27Auto merge of #862 - fitzgen:remove-unused-extra, r=emiliobors-servo
Remove unused `Extra` associated types r? @photoszzt or @emilio
2017-07-27Remove the `CanDeriveDebug::Extra` associated typeNick Fitzgerald
Similar to `HasVtable::Extra`, it is no longer needed.
2017-07-27Remove unused `CanDeriveDebug` implNick Fitzgerald
2017-07-27Remove unused `HasVtable::Extra` associated typeNick Fitzgerald
This is a throwback from the old, ad-hoc computation before we used the fixpoint analysis.
2017-07-27lib: Filter out include paths when looking for clang paths.Emilio Cobos Álvarez
2017-07-26Auto merge of #858 - fitzgen:report-unknown-generate-item, r=emiliobors-servo
Report what the unknown generate item was when parsing `--generate` r? @emilio
2017-07-26Report what the unknown generate item was when parsing `--generate`Nick Fitzgerald
2017-07-26Merge pull request #857 from fitzgen/derive-debug-with-paddingEmilio Cobos Álvarez
Be conservative about deriving Debug/Default with large alignment
2017-07-26Be conservative about deriving Debug/Default with large alignmentNick Fitzgerald
When there is large enough alignment that we might generate padding which has more members that `RUST_DERIVE_IN_ARRAY_LIMIT`, we can break our ability to derive traits. This commit solves this issue conservatively: there are cases where we leave a derive on the table, because in order to know that we could add that derive, we would need to compute padding before we determine whether we can derive. Fixes #648
2017-07-26Merge pull request #846 from UK992/appveyorNick Fitzgerald
Setup Appveyor
2017-07-26Setup AppveyorUK992
2017-07-26Merge pull request #855 from photoszzt/move_dependency_outNick Fitzgerald
Pull out the loop that generates dependency map into its own function.
2017-07-25Pull out the loop that generates dependency map into its own function.zzhu
2017-07-25s/servo/rust-lang-nursery/ in README.mdNick Fitzgerald
Missed the most important part of the last commit... r=me
2017-07-25Merge pull request #853 from fitzgen/rust-lang-nurseryNick Fitzgerald
s/servo/rust-lang-nursery/ \o/
2017-07-25Merge pull request #850 from photoszzt/has_vtableNick Fitzgerald
has vtable analysis
2017-07-25s/servo/rust-lang-nursery/ \o/Nick Fitzgerald
Fixes #852
2017-07-25has vtable analysiszzhu
2017-07-24Auto merge of #841 - servo:bump, r=fitzgenbors-servo
Bump to 0.28 Brings in #822 which unblocks https://bugzilla.mozilla.org/show_bug.cgi?id=1366956, and also #829 which should greatly reduce merge conflicts in checked in bindings.
2017-07-24Bump to 0.28.0Manish Goregaokar
2017-07-24Auto merge of #847 - fitzgen:derive-debug-opaque-types, r=emiliobors-servo
Derive debug and opaque types See each commit for details. Follow up to #842. r? @emilio or @Manishearth
2017-07-24Pull `return` up out of the branch armsNick Fitzgerald
2017-07-24Test to exercise the can-derive-debug case for opaque templatesNick Fitzgerald
2017-07-24Fix opaque template test to exercise the cannot derive caseNick Fitzgerald
And also not just fields, but also base members.
2017-07-24Add `trace!` logging for the derive(Debug) analysisNick Fitzgerald
Useful for debugging when constraints go wrong.
2017-07-24Handle all opaque types at once in derive(Debug) analysisNick Fitzgerald
There are lots of different ways that a type can end up being opaque, and it is best to handle all the ways in one fell swoop, rather than check each different ways (for example, if a struct has non-type template params, if a template instantiation's template definition has them, etc...) for each different type kind.
2017-07-24A `ResolvedTypeRef` is opaque if it points to another opaque typeNick Fitzgerald
2017-07-22Auto merge of #845 - servo:fix-spaces, r=emiliobors-servo
Never use spaces in generated name (fixes #844) None
2017-07-22Never use spaces in generated name (fixes #844)Manish Goregaokar
2017-07-22Auto merge of #843 - omakk:master, r=emiliobors-servo
Remove whitelisted_items as arg to codegen funcs Deals with #838
2017-07-22Remove whitelisted_items as arg to codegen funcsOmar Akkila
2017-07-21Auto merge of #842 - emilio:derive-debug-opaque-inst, r=Manishearthbors-servo
analysis: Account for template instantiations of opaque types in the derive debug analysis. We have a special-case for them in codegen to generate a blob, that can derive debug. This is a regression from #824, and hit stylo.
2017-07-22analysis: Account for template instantiations of opaque types in the derive ↵Emilio Cobos Álvarez
debug analysis. We have a special-case for them in codegen to generate a blob, that can derive debug. This is a regression from #824, and hit stylo.
2017-07-21Auto merge of #836 - emilio:codegen-items, r=fitzgenbors-servo
ir: Track the codegen-reachable items, and use it instead of whitelisted_items() for code generation. This standardizes the behavior change at #834, but without regressions. I've added a few more tests for #833 here. Closes #834.
2017-07-21ir: Track the codegen-reachable items, and use it instead of ↵Emilio Cobos Álvarez
whitelisted_items() for code generation. This standardizes the behavior change at #834, but without regressions. I've added a few more tests for #833 here.
2017-07-21Auto merge of #835 - emilio:tp-function, r=fitzgenbors-servo
ir: We really need to traverse all edges for the used template parameter analysis to be sound. Fixes #833
2017-07-21Auto merge of #837 - servo:fitzgen-patch-1, r=emiliobors-servo
Remove RUST_LOG=bindgen from the issue template Neither Emilio nor I find it helpful, so lets rm -rf