From f85bf9283ae52d2a1206a6fdfa83d886719d1164 Mon Sep 17 00:00:00 2001 From: Dan Paulat Date: Sat, 9 Aug 2025 01:20:30 -0500 Subject: [PATCH] Union access should not be flagged by clang-tidy --- .clang-tidy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.clang-tidy b/.clang-tidy index 26230c78..c93d61fe 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -7,8 +7,9 @@ Checks: - 'modernize-*' - 'performance-*' - '-bugprone-easily-swappable-parameters' - - '-cppcoreguidelines-pro-type-reinterpret-cast' - '-cppcoreguidelines-avoid-do-while' + - '-cppcoreguidelines-pro-type-reinterpret-cast' + - '-cppcoreguidelines-pro-type-union-access' - '-misc-include-cleaner' - '-misc-non-private-member-variables-in-classes' - '-misc-use-anonymous-namespace'