| Run: | 44983364229 |
| Check: | PR #244989: modernize-macro-to-enum |
| Status: | ok |
| Time: | 0s |
| Warnings: | 2 (TP 2, FP 0, unclassified 0) |
| Source: | libusb/hidapi/blob/d6b2a974608dec3b76fb1e36c189f22b9cf3650c |
None.
| Verdict | Location | Message |
|---|---|---|
| - | hidapi/hidapi.h:50:1 | replace macro with enum |
| - | hidapi/hidapi.h:50:9 | macro 'HID_API_VERSION_MAJOR' defines an integral constant; prefer an enum instead |
| - | hidapi/hidapi.h:55:1 | replace macro with enum |
| - | hidapi/hidapi.h:55:9 | macro 'HID_API_VERSION_MINOR' defines an integral constant; prefer an enum instead |
| - | hidapi/hidapi.h:60:1 | replace macro with enum |
| - | hidapi/hidapi.h:60:9 | macro 'HID_API_VERSION_PATCH' defines an integral constant; prefer an enum instead |
| Verdict | Location | Message |
|---|---|---|
| TP | hidapi/hidapi.h:103:1 | replace macro with enum |
| TP | hidapi/hidapi.h:103:9 | macro 'HID_API_MAX_REPORT_DESCRIPTOR_SIZE' defines an integral constant; prefer an enum instead |
Generated from 3ddf6fa37f.