We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b04340f + 8f9e5f9 commit 5ee6394Copy full SHA for 5ee6394
pygccxml/declarations/calldef.py
@@ -85,6 +85,11 @@ def __ne__(self, other):
85
def __lt__(self, other):
86
if not isinstance(other, self.__class__):
87
return self.__class__.__name__ < other.__class__.__name__
88
+ if other.default_value == None:
89
+ return False
90
+ if self.default_value == None:
91
+ return self.name < other.name \
92
+ and self.decl_type < other.decl_type
93
return self.name < other.name \
94
and self.default_value < other.default_value \
95
and self.decl_type < other.decl_type
0 commit comments