GDB (xrefs)
Classes | Functions | Variables
cleanup_check Namespace Reference

Classes

class  CheckerPass
 
class  Cleanup
 
class  CleanupChecker
 
class  Dummy
 
class  MasterCleanup
 

Functions

def log
 
def is_cleanup_type (return_type)
 
def is_constructor (decl)
 
def is_destructor (decl)
 
def needs_special_treatment (decl)
 

Variables

 want_raii_info = False
 
 logging = False
 
 show_cfg = False
 
tuple destructor_names = set(['do_cleanups', 'discard_cleanups'])
 
tuple special_names
 
tuple ps = CheckerPass(name = 'check-cleanups')
 

Function Documentation

def cleanup_check.is_cleanup_type (   return_type)

Definition at line 32 of file cleanup_check.py.

Referenced by is_constructor().

def cleanup_check.is_constructor (   decl)
def cleanup_check.is_destructor (   decl)
def cleanup_check.log (   msg,
  indent = 0 
)
def cleanup_check.needs_special_treatment (   decl)

Definition at line 59 of file cleanup_check.py.

Referenced by cleanup_check.CleanupChecker.check_cleanups().

Variable Documentation

tuple cleanup_check.destructor_names = set(['do_cleanups', 'discard_cleanups'])

Definition at line 45 of file cleanup_check.py.

cleanup_check.logging = False

Definition at line 23 of file cleanup_check.py.

tuple cleanup_check.ps = CheckerPass(name = 'check-cleanups')
cleanup_check.show_cfg = False

Definition at line 24 of file cleanup_check.py.

tuple cleanup_check.special_names
Initial value:
1 = set(['do_final_cleanups', 'discard_final_cleanups',
2  'save_cleanups', 'save_final_cleanups',
3  'restore_cleanups', 'restore_final_cleanups',
4  'exceptions_state_mc_init',
5  'make_my_cleanup2', 'make_final_cleanup', 'all_cleanups',
6  'save_my_cleanups', 'quit_target'])

Definition at line 52 of file cleanup_check.py.

cleanup_check.want_raii_info = False

Definition at line 21 of file cleanup_check.py.