Modify check to ignore any parent typeLoc and
other unevaluated context.
Fixes: #35857
Paths
| Differential D157374
[clang-tidy] Ignore decltype in misc-redundant-expression ClosedPublic Authored by PiotrZSL on Aug 8 2023, 1:41 AM.
Details Summary Modify check to ignore any parent typeLoc and Fixes: #35857
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 14 2023, 1:40 PM Closed by commit rG0c7d28f72e19: [clang-tidy] Ignore decltype in misc-redundant-expression (authored by PiotrZSL). · Explain WhyAug 14 2023, 11:59 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 548104 clang-tools-extra/clang-tidy/misc/RedundantExpressionCheck.cpp
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/test/clang-tidy/checkers/misc/redundant-expression.cpp
|