[build] Fix Gradle compile_commands.json and clang-tidy warnings (#5977)

This commit is contained in:
Tyler Veness
2023-12-02 21:20:43 -08:00
committed by GitHub
parent 76ae090570
commit ca272de400
11 changed files with 123 additions and 6 deletions

View File

@@ -609,6 +609,7 @@ void KeyboardJoystick::EditKey(const char* label, int* key) {
void KeyboardJoystick::SettingsDisplay() {
if (s_keyEdit) {
ImGuiIO& io = ImGui::GetIO();
// NOLINTNEXTLINE(bugprone-sizeof-expression)
for (int i = 0; i < IM_ARRAYSIZE(io.KeysDown); ++i) {
if (io.KeysDown[i]) {
// remove all other uses