From f5092080f76cb3e475fc3e1b32903dd1839fe57f Mon Sep 17 00:00:00 2001 From: MikePopoloski Date: Sat, 23 Sep 2023 02:48:56 -0400 Subject: [PATCH] More workarounds for broken clang-tidy check --- include/slang/parsing/Token.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/slang/parsing/Token.h b/include/slang/parsing/Token.h index 05dcd80b8..395333f96 100644 --- a/include/slang/parsing/Token.h +++ b/include/slang/parsing/Token.h @@ -117,7 +117,7 @@ class SLANG_EXPORT Trivia { Trivia clone(BumpAllocator& alloc) const; }; -#if !defined(_M_IX86) +#if !defined(_M_IX86) && !defined(__clang_analyzer__) static_assert(sizeof(Trivia) == 16); #endif