Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-08-14 | Auto merge of #1366 - gnzlbg:vec, r=emiliov0.38.0 | bors-servo | |
Map vector types to arrays and pass them by value This PR maps vector types to arrays and passes them by value (that is, they are passed to C as `[T; N]`. This already allows defining them as a blacklisted opaque type, such that the user can provide its own definition from e.g. `std::arch`. A subsequent PR should map vector types to unit structs with a private member: ```rust #[repr(align(16))] pub struct __m128([f32; 4]); ``` to make their alignment at least be correct. This should allow transmuting `std::arch` types to these types properly. Once that is done, we probably want to detect the canonical vector types (e.g. `__m128`) and pull in the type from `std`/`core`::arch instead. | |||
2018-08-14 | address review comments | gnzlbg | |
2018-08-14 | Minor stylistic nits after #1362. | Emilio Cobos Álvarez | |
2018-08-14 | address comments | Sébastien Duquette | |
2018-08-14 | Convert CodegenOptions to a bitfield. | Sébastien Duquette | |
2018-08-14 | map vector types to arrays and pass them by value | gnzlbg | |
2018-08-13 | Add ability to blacklist functions. | Emilio Cobos Álvarez | |
Fixes #1336 | |||
2018-07-30 | lib: Remove stale TODO. | Emilio Cobos Álvarez | |
2018-07-31 | Merge pull request #1351 from Imirsen/master. r=emilio | Emilio Cobos Álvarez | |
select cpp or c search paths based on clang args | |||
2018-07-30 | Minor cleanup after #1355. | Emilio Cobos Álvarez | |
2018-07-30 | Require TemplateParameters to be Sized. | Emilio Cobos Álvarez | |
To fix errors spawned since https://github.com/rust-lang/rust/issues/51443. | |||
2018-07-30 | Merge pull request #1355 from Lytigas/associated-duplicate-enum. r=emilio | Emilio Cobos Álvarez | |
Use associated constants for rust enums when available | |||
2018-07-29 | Use associated constants for rust enums when available | Josh Hejna | |
2018-07-29 | Improve error message when libclang fails | Joshua Liebow-Feeser | |
2018-07-26 | select cpp or c search paths based on clang args | Kevin Schmid | |
2018-07-11 | Merge pull request #1348 from tmfink/feature-refactor. r=emilio | Emilio Cobos Álvarez | |
Track Rust target features with declaration macro | |||
2018-07-06 | Track Rust target features with declaration macro | Travis Finkenauer | |
Eliminates the manual implementation of `From<RustTarget>` for `RustFeatures`. | |||
2018-07-05 | Fix integer_type to actually return integers all the time. | Emilio Cobos Álvarez | |
blob() does care about alignment, so we can get into an architecture where there are integers where size != align. This is a tentative fix for https://github.com/servo/servo/issues/21093, though as mentioned there I couldn't find a repro on my machine. | |||
2018-07-05 | ir: Don't assume wchar is 2 bytes. | Emilio Cobos Álvarez | |
Fixes #1345 | |||
2018-07-01 | codegen: Prevent unused_mut warnings, and fix formatting issues. | Emilio Cobos Álvarez | |
Followup to #1342 | |||
2018-06-28 | Fix bitfields on big-endian machines. | Petr Sumbera | |
Fixes #1340 | |||
2018-06-13 | Fix typos. | Bruce Mitchener | |
2018-06-04 | add --constified-enum to output consts when the default is changed | Daniel Brooks | |
2018-06-04 | remove unnecessary as_ref | Daniel Brooks | |
2018-06-04 | Rename from "enum variant" to "enum style" | Daniel Brooks | |
2018-06-03 | Add an option to set the default codegen style for all enums | Daniel Brooks | |
2018-06-01 | Fix typo in `clang_version` documentation | Charles Samborski | |
This is just a small PR to fix the "semvar" typo to "semver". | |||
2018-05-29 | Check if `clang_Type_getNumTemplateArguments` is loaded before use | Stephen Touset | |
2018-05-16 | Handle pointer constness at the right level. | Emilio Cobos Álvarez | |
2018-05-14 | ir: Make type parameters respect constness appropriately. | Emilio Cobos Álvarez | |
2018-05-14 | ir: Make Opaque types respect constness appropriately. | Emilio Cobos Álvarez | |
2018-05-14 | ir: Fix "this" argument generation to build a pointer to const, not a const ↵ | Emilio Cobos Álvarez | |
pointer. | |||
2018-05-10 | Canonicalize a type (pointer type) first before checking for constness | cynecx | |
2018-05-03 | lib: Add a more-convenient API to add multiple lines to the same module. | Emilio Cobos Álvarez | |
2018-05-03 | codegen: Actually honor the new option for module_lines. | Emilio Cobos Álvarez | |
Only when modules are enabled of course. | |||
2018-05-03 | lib: Add and document an API to add per-module raw lines. | Emilio Cobos Álvarez | |
2018-04-08 | TemplateParameters.used_template_params doesn't return Option | Tamir Duberstein | |
2018-04-08 | TemplateParameters.all_template_params doesn't return Option | Tamir Duberstein | |
2018-04-08 | TemplateParameters.num_self_template_params doesn't return Option | Tamir Duberstein | |
2018-04-08 | TemplateParameters.self_template_params doesn't return Option | Tamir Duberstein | |
2018-04-07 | Auto merge of #1303 - Eijebong:bump, r=emilio | bors-servo | |
Bump quote to 0.5 | |||
2018-04-07 | Auto merge of #1293 - strake:use_associated_consts, r=emilio | bors-servo | |
optionally use associated constants in bitfields See #1166 r? @emilio | |||
2018-04-07 | Make doc comments nice again. | Emilio Cobos Álvarez | |
2018-04-06 | not generate associated constants to unnamed types | M Farkas-Dyck | |
2018-04-06 | Auto merge of #1294 - marty-se:master, r=fitzgen | bors-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-04 | Bump quote to 0.5 and proc_macro2 to 0.3 | Bastien Orivel | |
2018-04-03 | Revert "Revert "Bump quote to 0.4"" | Bastien Orivel | |
This reverts commit eb415c7a7cf8c72664dbfda5a614474cda5c185c. | |||
2018-04-03 | codegen: 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-03 | codegen: Use target pointer size consistently for layout calculations. | Emilio Cobos Álvarez | |
Closes #1284 | |||
2018-04-03 | ir: Grab target information from clang. | Emilio Cobos Álvarez | |