elif kind == "typedef":
if compoundname not in doxy_type:
doxy_type[compoundname] = []
- doxy_type[compoundname].append(name)
+ doxy_type[compoundname].append(name)
elif kind == "friend":
pass # Ignore friendship
else:
print ("member {}::{} is of kind {}".format(compoundname, name, kind))
# Forget about the declarations that are done in the RST
-with os.popen('grep doxygenfunction:: find-missing.ignore source/*rst|sed \'s/^.*doxygenfunction:: //\'') as pse:
+with os.popen('grep doxygenfunction:: find-missing.ignore source/*rst|sed \'s/^.*doxygenfunction:: //\'|sed \'s/ *const//\'') as pse:
for line in (l.strip() for l in pse):
(klass, obj, args) = (None, None, None)
if "(" in line:
if len(doxy_type[klass]) == 0:
del doxy_type[klass]
-# Dump the undocumented Doxygen declarations
+# Dump the undocumented Doxygen declarations
for obj in sorted(doxy_funs):
for meth in sorted(doxy_funs[obj]):
for args in sorted(doxy_funs[obj][meth]):
- if obj is '':
+ if obj == '':
print(".. doxygenfunction:: {}{}".format(meth, args))
else:
print(".. doxygenfunction:: {}::{}{}".format(obj, meth, args))
for obj in doxy_type:
for meth in sorted(doxy_type[obj]):
- if obj is '':
+ if obj == '':
print(".. doxygentypedef:: {}".format(meth))
else:
print(".. doxygentypedef:: {}::{}".format(obj, meth))
-
\ No newline at end of file