(files, **kwargs)
| 223 | elif datacmd == 'dump': |
| 224 | known = _analyzer.KNOWN_FILE |
| 225 | def analyze(files, **kwargs): |
| 226 | decls = [] |
| 227 | for decl in _analyzer.iter_decls(files, **kwargs): |
| 228 | if not KIND.is_type_decl(decl.kind): |
| 229 | continue |
| 230 | if not decl.filename.endswith('.h'): |
| 231 | if decl.shortkey not in _analyzer.KNOWN_IN_DOT_C: |
| 232 | continue |
| 233 | decls.append(decl) |
| 234 | results = _c_analyzer.analyze_decls( |
| 235 | decls, |
| 236 | known={}, |
| 237 | analyze_resolved=_analyzer.analyze_resolved, |
| 238 | ) |
| 239 | return _analyzer.Analysis.from_results(results) |
| 240 | else: # check |
| 241 | known = _analyzer.read_known() |
| 242 | def analyze(files, **kwargs): |
nothing calls this directly
no test coverage detected
searching dependent graphs…