halflife-unified-sdk
halflife-unified-sdk copied to clipboard
Enable certain Clang-tidy checks
Some Clang-tidy checks are very useful for catching incorrect code. See the documentation for available checks.
- readability-delete-null-pointer: Catches unnecessary if checks.
- readability-implicit-bool-conversion: Catches implicit conversion between bool and another type. Will be useful in catching bad conversions involving code that used to use BOOL.
- modernize-use-bool-literals: Catches conversion from int to bool
- modernize-use-nullptr: Catches invalid conversions, helps remove redundant null pointer constant definitions. Disabled because this check crashes clang-tidy. See https://github.com/llvm/llvm-project/issues/53778