(self, name, enabled=True, part_of_all=True, shared=False, error=False)
| 58 | warnings: dict[str, dict] = {} |
| 59 | |
| 60 | def add_warning(self, name, enabled=True, part_of_all=True, shared=False, error=False): |
| 61 | self.warnings[name] = { |
| 62 | 'enabled': enabled, |
| 63 | 'part_of_all': part_of_all, |
| 64 | # True for flags that are shared with the underlying clang driver |
| 65 | 'shared': shared, |
| 66 | 'error': error, |
| 67 | } |
| 68 | |
| 69 | def capture_warnings(self, cmd_args): |
| 70 | for i in range(len(cmd_args)): |
no outgoing calls
no test coverage detected