commit 89cf7e37d9da4ba04b0a7269c7e84d18f4342a38
Author: David Malcolm <dmalcolm(a)redhat.com>
Date: Mon Sep 26 19:36:15 2011 -0400
cpychecker: optionally log each function being analyzed
libcpychecker/refcounts.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/libcpychecker/refcounts.py b/libcpychecker/refcounts.py
index 06caac2..14dba91 100644
--- a/libcpychecker/refcounts.py
+++ b/libcpychecker/refcounts.py
@@ -1741,6 +1741,9 @@ def check_refcounts(fun, dump_traces=False, show_traces=False,
log('check_refcounts(%r, %r, %r)', fun, dump_traces, show_traces)
+ if 0:
+ gcc.inform(fun.start, 'Analyzing reference-counting with %s' %
fun.decl.name)
+
check_isinstance(fun, gcc.Function)
if show_traces:
Show replies by date