diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-03-09 14:43:23 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-09 14:43:23 -0800 |
commit | ecd9770147f6af15a704e2fea61450fea1b1c52f (patch) | |
tree | cde66394075ce6361bb81f4d63641469a9dcf6cc /bindgen-integration/cpp/Test.h | |
parent | fdea868dbfdee4b0e04852ce59065c8b2ff71662 (diff) | |
parent | 8b17b65d8cb107e481b5b922c06f5a7c7edee369 (diff) |
Auto merge of #572 - fitzgen:sm-layout-test-failures, r=emilio
Generate better opaque blobs in the face of non-type parameters
When instantiating templates whose definitions have non-type generic parameters, prefer the layout of the instantiation type to the garbage we get from the definition's layout. In general, an instantiation's layout will always be a better choice than the definition's layout, regardless of non-type parameters.
Fixes #569
r? @emilio
Diffstat (limited to 'bindgen-integration/cpp/Test.h')
0 files changed, 0 insertions, 0 deletions