summaryrefslogtreecommitdiff
path: root/src/lib/eolian_cxx/grammar/klass_def.hpp
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-09-16 15:27:04 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2019-09-16 15:37:04 +0200
commitd9594dbc9d9e2bf6e8e58a570f60c2206df45fb3 (patch)
tree3fa9c28b3c1ff63c65090c0a100d37c7ac80dc2b /src/lib/eolian_cxx/grammar/klass_def.hpp
parent2d3c99d30bf00219b1062c60217503bbcdcb3a4a (diff)
eolian: drop @ctor_param and the associated APIs
This has been unused for a while, and has been just lingering around the code, so drop it so it doesn't make it into a release.
Diffstat (limited to '')
-rw-r--r--src/lib/eolian_cxx/grammar/klass_def.hpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/eolian_cxx/grammar/klass_def.hpp b/src/lib/eolian_cxx/grammar/klass_def.hpp
index 683bb000a4..a3f3f3d7df 100644
--- a/src/lib/eolian_cxx/grammar/klass_def.hpp
+++ b/src/lib/eolian_cxx/grammar/klass_def.hpp
@@ -1196,15 +1196,13 @@ struct constructor_def
1196 klass_name klass; 1196 klass_name klass;
1197 function_def function; 1197 function_def function;
1198 bool is_optional; 1198 bool is_optional;
1199 bool is_ctor_param;
1200 1199
1201 friend inline bool operator==(constructor_def const& lhs, constructor_def const& rhs) 1200 friend inline bool operator==(constructor_def const& lhs, constructor_def const& rhs)
1202 { 1201 {
1203 return lhs.name == rhs.name 1202 return lhs.name == rhs.name
1204 && lhs.klass == rhs.klass 1203 && lhs.klass == rhs.klass
1205 && lhs.function == rhs.function 1204 && lhs.function == rhs.function
1206 && lhs.is_optional == rhs.is_optional 1205 && lhs.is_optional == rhs.is_optional;
1207 && lhs.is_ctor_param == rhs.is_ctor_param;
1208 } 1206 }
1209 1207
1210 friend inline bool operator!=(constructor_def const& lhs, constructor_def const& rhs) 1208 friend inline bool operator!=(constructor_def const& lhs, constructor_def const& rhs)
@@ -1216,7 +1214,6 @@ struct constructor_def
1216 : name(::eolian_constructor_name_get(constructor)) 1214 : name(::eolian_constructor_name_get(constructor))
1217 , klass(::eolian_constructor_class_get(constructor), {}) 1215 , klass(::eolian_constructor_class_get(constructor), {})
1218 , is_optional(::eolian_constructor_is_optional(constructor)) 1216 , is_optional(::eolian_constructor_is_optional(constructor))
1219 , is_ctor_param(::eolian_constructor_is_ctor_param(constructor))
1220 { 1217 {
1221 Eolian_Function const* eo_function = ::eolian_constructor_function_get(constructor); 1218 Eolian_Function const* eo_function = ::eolian_constructor_function_get(constructor);
1222 Eolian_Function_Type eo_func_type = ::eolian_function_type_get(eo_function); 1219 Eolian_Function_Type eo_func_type = ::eolian_function_type_get(eo_function);