Commit Graph

3 Commits

Author SHA1 Message Date
Léo Lam 294666ba13
clang-tidy: Disable misc-const-correctness
We want to give people the ability to exercise discretion in balancing
const correctness and readability.
2022-12-17 19:24:15 +01:00
Léo Lam 5a793566f3
Disable readability-make-member-function-const
It produces warnings in cases where we explicitly do *not* want to mark
a function as const even though it can be, because it is not
*logically* const.

This is something no automated tool will be able to detect so disable
the check to avoid spurious warnings.
2022-12-09 13:30:03 +01:00
Léo Lam ac2df65376
Add clang-tidy config
Based on CLion's default config, minus checks that are not useful or do
not work for a matching decomp project
2022-06-24 03:25:55 +02:00