From fc678e89416a166076f10d965756c43953af5c04 Mon Sep 17 00:00:00 2001 From: Fabian Ruffy <5960321+fruffy@users.noreply.github.com> Date: Mon, 15 Jan 2024 10:41:49 +0100 Subject: [PATCH] Ignore clang-tidy complaints about macro do-while loops. (#4332) --- .clang-tidy | 1 + 1 file changed, 1 insertion(+) diff --git a/.clang-tidy b/.clang-tidy index 2c31c4e8f35..fa751c7ccde 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -32,4 +32,5 @@ CheckOptions: - { key: readability-identifier-naming.GlobalConstantCase, value: UPPER_CASE } - { key: readability-identifier-naming.StaticConstantCase, value: UPPER_CASE } - { key: readability-identifier-naming.StaticVariableCase, value: UPPER_CASE } + - { key: cppcoreguidelines-avoid-do-while.IgnoreMacros, value: true } ...