summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-07-30Merge pull request #1354 from joshlf/master. r=emilioEmilio Cobos Álvarez
Improve error message when libclang fails
2018-07-29Use associated constants for rust enums when availableJosh Hejna
2018-07-29Quote regexes in test headersJosh Hejna
When using test-one.sh, unquoted wildcards are expanded by the shell, resulting in failing tests.
2018-07-29Improve error message when libclang failsJoshua Liebow-Feeser
2018-07-26select cpp or c search paths based on clang argsKevin Schmid
2018-07-11Merge pull request #1348 from tmfink/feature-refactor. r=emilioEmilio Cobos Álvarez
Track Rust target features with declaration macro
2018-07-10Merge pull request #1347 from dwijnand/fix-licenseEmilio Cobos Álvarez
Regenerates the BSD3 License so GitHub recognises it
2018-07-06Track Rust target features with declaration macroTravis Finkenauer
Eliminates the manual implementation of `From<RustTarget>` for `RustFeatures`.
2018-07-06Auto merge of #1339 - emilio:bitfield-int, r=fitzgenbors-servo
Fix integer_type to actually return integers all the time. 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 servo/servo#21093, though as mentioned there I couldn't find a repro on my machine.
2018-07-06Auto merge of #1346 - emilio:wchar, r=fitzgenbors-servo
ir: Don't assume wchar is 2 bytes. Fixes #1345
2018-07-05Regenerates the BSD3 License so GitHub recognises itDale Wijnand
2018-07-05Fix 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-05ir: Don't assume wchar is 2 bytes.Emilio Cobos Álvarez
Fixes #1345
2018-07-01Auto merge of #1343 - emilio:fixup, r=upsuperv0.37.4bors-servo
codegen: Allow unused_mut to prevent warnings on little-endian machines. And fixup whitespace. This is a followup #1342.
2018-07-01Bump version.Emilio Cobos Álvarez
2018-07-01Update test expectations.Emilio Cobos Álvarez
2018-07-01codegen: Prevent unused_mut warnings, and fix formatting issues.Emilio Cobos Álvarez
Followup to #1342
2018-07-01Bump version.v0.37.3Emilio Cobos Álvarez
2018-07-01Auto merge of #1342 - psumbera:master, r=emiliobors-servo
Fix bitfields on big-endian machines. Fixes #1340
2018-07-01Update test expectations.Emilio Cobos Álvarez
2018-06-28Fix bitfields on big-endian machines.Petr Sumbera
Fixes #1340
2018-06-17Auto merge of #1335 - emilio:libclang-up, r=pepyakinbors-servo
Bump libclang. Fixes #1276
2018-06-16Bump libclang.Emilio Cobos Álvarez
Fixes #1276
2018-06-13Auto merge of #1330 - waywardmonkeys:fix-typos, r=emiliobors-servo
Fix typos. This does change a struct field and a couple of functions, but I don't believe that those are publicly exposed.
2018-06-13Fix typos.Bruce Mitchener
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