From dde9376cf32511debbb4b0e068c6ca776d13349b Mon Sep 17 00:00:00 2001 From: Sergey Pepyakin Date: Sat, 23 Sep 2017 01:48:19 +0300 Subject: 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 --- tests/headers/layout_array.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/headers/layout_array.h') 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; -- cgit v1.2.3