summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-06-04Auto merge of #1329 - db48x:allow-const-enum-style, r=emiliobors-servo
add --constified-enum to output consts when the default is changed
2018-06-04add --constified-enum to output consts when the default is changedDaniel Brooks
2018-06-04Auto merge of #1328 - db48x:default-enum-variant, r=emiliobors-servo
Add an option to set the default codegen style for all enums
2018-06-04remove unnecessary as_refDaniel Brooks
2018-06-04Rename from "enum variant" to "enum style"Daniel Brooks
2018-06-03Add an option to set the default codegen style for all enumsDaniel Brooks
2018-06-03Auto merge of #1327 - db48x:fuzzing-extra-file, r=emiliobors-servo
Add an option to extend the compiled code after each reducing step This let me add a test function which called a method in the reduced code, preventing creduce from eliminating everything entirely.
2018-06-03add a description to the new optionDaniel Brooks
2018-06-03Add an option to extend the compiled code after each reducing stepDaniel Brooks
This let me add a test function which called a method in the reduced code, preventing creduce from eliminating everything entirely.
2018-06-01Auto merge of #1324 - demurgos:patch-1, r=emiliobors-servo
Fix typo in `clang_version` documentation This is just a small PR to fix the "semvar" typo to "semver".
2018-06-01Fix typo in `clang_version` documentationCharles Samborski
This is just a small PR to fix the "semvar" typo to "semver".
2018-05-29Auto merge of #1321 - stouset:check-if-num-template-args-is-loaded, r=emiliobors-servo
Check if `clang_Type_getNumTemplateArguments` is loaded before use Fixes #1304, which reapplies #916 which was regressed by #915.
2018-05-29Check if `clang_Type_getNumTemplateArguments` is loaded before useStephen Touset
2018-05-21Auto merge of #1317 - Eijebong:regex, r=emiliobors-servo
Update regex to 1.0 and bump version
2018-05-21Update regex to 1.0 and bump versionBastien Orivel
2018-05-18Version bump.v0.37.0Emilio Cobos Álvarez
2018-05-15Auto merge of #1312 - emilio:constness-woes, r=fitzgenbors-servo
ir: Handle *const T at the codegen level. Followup to #1311.
2018-05-16Handle pointer constness at the right level.Emilio Cobos Álvarez
2018-05-14ir: Make type parameters respect constness appropriately.Emilio Cobos Álvarez
2018-05-14ir: Make Opaque types respect constness appropriately.Emilio Cobos Álvarez
2018-05-14ir: Fix "this" argument generation to build a pointer to const, not a const ↵Emilio Cobos Álvarez
pointer.
2018-05-14Auto merge of #1311 - cynecx:canonicalize_pointer_ty, r=emiliobors-servo
Canonicalize a type (pointer type) first before checking for constness This fixes cases like: ```cpp int sodium_munlock(int* const addr); // addr itself is const but the pointer points to mutable data ``` Before fix: ```rust extern "C" { pub fn sodium_munlock( addr: *const ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } ``` After this patch: ```rust extern "C" { pub fn sodium_munlock( addr: *mut ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } ```
2018-05-12Add missing line in test expectationcynecx
2018-05-12Add test from issue #511cynecx
2018-05-10Adjust proper constness in testscynecx
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