summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-05-10Canonicalize a type (pointer type) first before checking for constnesscynecx
2018-05-10Version bump.v0.36.1Emilio Cobos Álvarez
2018-05-03Auto merge of #1308 - emilio:per-module-lines, r=fitzgenbors-servo
Add an option to add lines per module. Fixes #1307
2018-05-03lib: Add a more-convenient API to add multiple lines to the same module.Emilio Cobos Álvarez
2018-05-03Add tests for the new option.Emilio Cobos Álvarez
2018-05-03codegen: Actually honor the new option for module_lines.Emilio Cobos Álvarez
Only when modules are enabled of course.
2018-05-03lib: Add and document an API to add per-module raw lines.Emilio Cobos Álvarez
2018-04-10Merge pull request #1305 from tamird/remove-option. r=emiliov0.36.0Emilio Cobos Álvarez
TemplateParameters do not return Option
2018-04-08TemplateParameters.used_template_params doesn't return OptionTamir Duberstein
2018-04-08TemplateParameters.all_template_params doesn't return OptionTamir Duberstein
2018-04-08TemplateParameters.num_self_template_params doesn't return OptionTamir Duberstein
2018-04-08TemplateParameters.self_template_params doesn't return OptionTamir Duberstein
2018-04-08Avoid new validation in proc-macro2Tamir Duberstein
Evidently, we run afoul of this.
2018-04-07Auto merge of #1303 - Eijebong:bump, r=emiliobors-servo
Bump quote to 0.5
2018-04-07Auto merge of #1293 - strake:use_associated_consts, r=emiliobors-servo
optionally use associated constants in bitfields See #1166 r? @emilio
2018-04-07Make doc comments nice again.Emilio Cobos Álvarez
2018-04-06not generate associated constants to unnamed typesM Farkas-Dyck
2018-04-06Auto merge of #1294 - marty-se:master, r=fitzgenbors-servo
Whitelist inner types of whitelisted types even with no-recursive-whitelisting. This fixes issue #1285 where inner types were code generated but not properly processed by the derive analysis.
2018-04-04test associated constsM Farkas-Dyck
2018-04-04Bump quote to 0.5 and proc_macro2 to 0.3Bastien Orivel
2018-04-03Revert "Revert "Bump quote to 0.4""Bastien Orivel
This reverts commit eb415c7a7cf8c72664dbfda5a614474cda5c185c.
2018-04-03Auto merge of #1302 - rust-lang-nursery:fitzgen-patch-2, r=emiliobors-servo
Match tag line on github in README to downplay implied reliability of binding to C++ r? @emilio
2018-04-03Auto merge of #1289 - emilio:target-stuff, r=fitzgenbors-servo
codegen: Use target pointer size consistently for layout calculations Assuming new enough libclang, this PR makes cross-compilation do layout calculations properly. Fixes #1284
2018-04-03Add -x to the CI script.Emilio Cobos Álvarez
2018-04-03Use clang 4.0.0, not 4.0.1, since the later doesn't have an ubuntu package.Emilio Cobos Álvarez
2018-04-03Adjust .travis.yml to only use maj-min versions.Emilio Cobos Álvarez
2018-04-03ci: Update before_install to handle target change in LLVM's server.Emilio Cobos Álvarez
Straight from: https://raw.githubusercontent.com/KyleMayes/clang-sys/master/ci/before_install.sh
2018-04-03Now that we have stuff that depends on libclang-5 we need to do this.Emilio Cobos Álvarez
2018-04-03codegen: Don't skip alignment checks if we support repr align.Emilio Cobos Álvarez
Plus fix the check that avoids us generating explicit alignment fields for structs aligned to more than pointer-size. Fixes #1291
2018-04-03codegen: Use target pointer size consistently for layout calculations.Emilio Cobos Álvarez
Closes #1284
2018-04-03ir: Grab target information from clang.Emilio Cobos Álvarez
2018-04-03Match tag line on github in README to downplay implied reliability of ↵Nick Fitzgerald
binding to C++
2018-04-02Auto merge of #1295 - mbrubeck:docs, r=emiliobors-servo
Make some docs more visible - Link to the user's guide from the docs and manifest - Include README.md in Cargo package so it is visible on crates.io and docs.rs. - Include LICENSE in Cargo package so that the package is legal to distribute.
2018-04-02Include README and LICENSE files in Cargo package.Matt Brubeck
- Include README.md so it is visible on crates.io and docs.rs. - Include LICENSE so that the package is legal to distribute.
2018-04-02Link to the user's guide from the docs and manifestMatt Brubeck
2018-04-02Auto merge of #1288 - emilio:bye-links, r=pepyakinbors-servo
options: Remove the linking-related options. They do nothing, and are effectively superseded by --raw-line and friends. They also tend to confuse people. Closes #104
2018-04-02Auto merge of #1290 - emilio:what-a-language, r=pepyakinbors-servo
ir: Remove an assertion that happens to be invalid. You can define a struct declared in an outer scope inside another struct. C, what a language. Fixes #1281
2018-04-02Whitelist inner types of whitelisted types even with no-recursive-whitelisting.Martin Karlgren
This fixes issue #1285 where inner types were code generated but not properly processed by the derive analysis.
2018-04-01feature guard rather than optionM Farkas-Dyck
2018-04-01optionally use associated constants in bitfieldsM Farkas-Dyck
2018-03-31ir: Remove an assertion that happens to be invalid.Emilio Cobos Álvarez
You can define a struct declared in an outer scope inside another struct, and the compiler won't even complain... C, what a language. Fixes #1281
2018-03-31options: Remove the linking-related options.Emilio Cobos Álvarez
They do nothing, and are effectively superseded by --raw-line and friends. They also tend to confuse people. Closes #104
2018-03-25Version bumpv0.35.0Emilio Cobos Álvarez
2018-03-17Auto merge of #1277 - tmfink:issue-1198-bitfield-enum, r=emiliobors-servo
Handle bitfield enum pattern aliasing The previous fix for issue #1198 was incomplete.
2018-03-17Handle bitfield enum pattern aliasingTravis Finkenauer
The previous fix for issue #1198 was incomplete.
2018-03-13Auto merge of #1272 - tmfink:issue-1198, r=emiliobors-servo
Declare precedence on enum types Fixes issue #1198 where an enum matches the pattern for multiple enum types, such as constified module enum AND rustified enum. Documents precedence in `Builder` doc comment.
2018-03-13Move issue-1198 tests out of libclang-3.9 dirTravis Finkenauer
2018-03-13Auto merge of #1271 - emilio:repr-align, r=xidornbors-servo
codegen: Support repr(align) Fixes #917.
2018-03-13tests: Test repr(align()) only on nightly for now, make it 1.25 to reflect ↵Emilio Cobos Álvarez
reality.
2018-03-13tests: Add a test for alignas(double).Emilio Cobos Álvarez