This commit is contained in:
parent
60fc893b1c
commit
f1a8275243
|
@ -211,6 +211,8 @@ def referers_tree(name, referer=None, printed=None, level=0):
|
||||||
referer = eval(referer)
|
referer = eval(referer)
|
||||||
if not printed:
|
if not printed:
|
||||||
printed = set()
|
printed = set()
|
||||||
|
# definition
|
||||||
|
# cscope -d -L1 "arv_camera_new"
|
||||||
if name in printed:
|
if name in printed:
|
||||||
print_limited(level*'\t' + name + ' ^')
|
print_limited(level*'\t' + name + ' ^')
|
||||||
return
|
return
|
||||||
|
@ -221,7 +223,8 @@ def referers_tree(name, referer=None, printed=None, level=0):
|
||||||
print_limited((level + 1)*'\t' + '...')
|
print_limited((level + 1)*'\t' + '...')
|
||||||
return ''
|
return ''
|
||||||
for a in referer(name):
|
for a in referer(name):
|
||||||
referers_tree(a[2], referer, printed, level + 1)
|
name = a[2]
|
||||||
|
referers_tree(name, referer, printed, level + 1)
|
||||||
return ''
|
return ''
|
||||||
|
|
||||||
def referers(name):
|
def referers(name):
|
||||||
|
@ -1124,6 +1127,7 @@ def doxygen(*input):
|
||||||
def doxygen_xml(a):
|
def doxygen_xml(a):
|
||||||
g = my_graph()
|
g = my_graph()
|
||||||
for x in list(glob.glob(os.path.join(a, "*.xml")) + [a]):
|
for x in list(glob.glob(os.path.join(a, "*.xml")) + [a]):
|
||||||
|
# print(x)
|
||||||
if os.path.isfile(x):
|
if os.path.isfile(x):
|
||||||
d = xml.dom.minidom.parse(x)
|
d = xml.dom.minidom.parse(x)
|
||||||
for m in d.getElementsByTagName("memberdef"):
|
for m in d.getElementsByTagName("memberdef"):
|
||||||
|
@ -1251,6 +1255,7 @@ def main():
|
||||||
print(ret)
|
print(ret)
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
log("\nInterrupted")
|
log("\nInterrupted")
|
||||||
|
# -fdump-rtl-expand
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
Loading…
Reference in New Issue