Ignore false-positives when referring to non-constexpr variables
in non-unevaluated context (like decltype, sizeof, ...).
Fixes: #24066
Paths
| Differential D158657
[clang-tidy] Fix false-positives in misc-static-assert caused by non-constexpr variables Needs ReviewPublic Authored by PiotrZSL on Aug 23 2023, 11:56 AM.
Details
Summary Ignore false-positives when referring to non-constexpr variables Fixes: #24066
Diff Detail
Revision Contents
Diff 552833 clang-tools-extra/clang-tidy/misc/StaticAssertCheck.cpp
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/test/clang-tidy/checkers/misc/static-assert.cpp
|