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.
1 parent c2c1dc3 commit 9327df6Copy full SHA for 9327df6
sphinx/domains/c/_symbol.py
@@ -123,6 +123,9 @@ def _children(self) -> ValuesView[Symbol]:
123
124
def _add_child(self, child: Symbol) -> None:
125
name = child.ident.name
126
+ if name in self._childrenByName:
127
+ # Duplicate so don't add - will be reported in _add_symbols()
128
+ return
129
self._childrenByName[name] = child
130
if child.docname not in self._childrenByDocname:
131
self._childrenByDocname[child.docname] = {}
0 commit comments