summaryrefslogtreecommitdiff
path: root/tests/headers/layout_array.h
diff options
context:
space:
mode:
authorSergey Pepyakin <s.pepyakin@gmail.com>2017-09-23 01:48:19 +0300
committerSergey Pepyakin <s.pepyakin@gmail.com>2017-10-03 00:37:09 +0300
commitdde9376cf32511debbb4b0e068c6ca776d13349b (patch)
treed47244770a0fe187e7c2fec0db0366cfdbd17092 /tests/headers/layout_array.h
parentc66598d28b7ffe8b8e30a58e9268db50dd109986 (diff)
Derive partialeq "manually" when possible
Remove derive-partialeq-template-inst test. Add comments. Don't implement PartialEq for incomplete arrays Handle opaque bases and template instantiations Extract constrain_type. Extract `is whitelisted?` check Add failing partialeq-anonfield join for comps Fix: return insert if not whitelisted Delegate TypeRefs and alias to constrain_join. Delegate Template instantiations to constrain_join Add derive-partialeq-pointer.hpp test Update comment. Fix layout alignment larger that array limit Add missing test for derive-partialeq-anonfield.rs Clean Clean Fix typo in opaque-template-inst-member test Remove redudant stmt Add comment on can_supersede. Format impl_partialeq and leave a comment Extract requires_storage into it's own function. Clean
Diffstat (limited to 'tests/headers/layout_array.h')
-rw-r--r--tests/headers/layout_array.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/headers/layout_array.h b/tests/headers/layout_array.h
index 6a20f7c3..239e52b1 100644
--- a/tests/headers/layout_array.h
+++ b/tests/headers/layout_array.h
@@ -1,4 +1,4 @@
-// bindgen-flags: --with-derive-hash --with-derive-partialeq --with-derive-eq
+// bindgen-flags: --with-derive-hash --with-derive-partialeq --with-derive-eq --impl-partialeq
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;