lint: fix reserved identifiers and include guards (NO OUTPUT FILES)

- Rename __HGM_TABLES_SIZE -> HGM_TABLES_SIZE_ (Base/MySQL/PgSQL HGM)
- Rename __TYPE_SIZE -> TYPE_SIZE_ (Base/MySQL/PgSQL HGM)
- Fix include guard defines: __PROXYSQL_* -> PROXYSQL_*
- Fix include guard comments: __CLASS_* -> PROXYSQL_*_H (29 files)
- Add uint8_t underlying type to small enums
v3.0-lint
Rene Cannao 1 month ago
parent 7e1a78fd6b
commit a27d07f078

@ -1,6 +0,0 @@
Lint suppressions policy
- Prefer fixing issues over suppressing.
- Use `// NOLINT(<check>): reason` for clang-tidy only when necessary.
- For cppcheck, use `// cppcheck-suppress <id>` inline if unavoidable.
- Document the reason and add a TODO for revisit.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1 +0,0 @@
107605 warnings generated.

File diff suppressed because it is too large Load Diff

@ -1,3 +0,0 @@
/usr/include/openssl/macros.h:139:0: error: #error "The requested API level higher than the configured API compatibility level" [preprocessorErrorDirective]
# error "The requested API level higher than the configured API compatibility level"
^
Loading…
Cancel
Save