(vardecl)
| 59 | |
| 60 | |
| 61 | def is_process_global(vardecl): |
| 62 | kind, storage, _, _, _ = _info.get_parsed_vartype(vardecl) |
| 63 | if kind is not _KIND.VARIABLE: |
| 64 | raise NotImplementedError(vardecl) |
| 65 | if 'static' in (storage or ''): |
| 66 | return True |
| 67 | |
| 68 | if hasattr(vardecl, 'parent'): |
| 69 | parent = vardecl.parent |
| 70 | else: |
| 71 | parent = vardecl.get('parent') |
| 72 | return not parent |
| 73 | |
| 74 | |
| 75 | def is_fixed_type(vardecl): |
no test coverage detected
searching dependent graphs…