Revert "[clang-tidy] Simplify static assert check"
authorRoman Lebedev <lebedev.ri@gmail.com>
Sun, 30 May 2021 13:40:01 +0000 (16:40 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Sun, 30 May 2021 13:44:31 +0000 (16:44 +0300)
commitbe6b9e8ae71768d2e09ec14619ca4ecfdef553fa
tree59bb5aad68fc45ebccb66957bf7833a844d0c32b
parent829978744d244cbf487e86c0cd385989a3e96a39
Revert "[clang-tidy] Simplify static assert check"

This patch starts to produce a very obvious false-positives,
despite the fact the preexisting tests already cover the pattern.
they clearly don't actually cover it.

https://godbolt.org/z/3zdqvbfxj

This reverts commit 1709bb8c7395418236ec94fe3b9d91fed746452b.
clang-tools-extra/clang-tidy/misc/StaticAssertCheck.cpp
clang-tools-extra/clang-tidy/misc/StaticAssertCheck.h