[PATCH] D157374: [clang-tidy] Ignore decltype in misc-redundant-expression
Piotr Zegar via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 8 01:41:44 PDT 2023
PiotrZSL created this revision.
PiotrZSL added reviewers: njames93, carlosgalvezp.
Herald added a subscriber: xazax.hun.
Herald added a project: All.
PiotrZSL requested review of this revision.
Herald added a project: clang-tools-extra.
Herald added a subscriber: cfe-commits.
Modify check to ignore any parent typeLoc and
other unevaluated context.
Fixes: #35857
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D157374
Files:
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157374.548104.patch
Type: text/x-patch
Size: 6604 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230808/c823dc69/attachment.bin>
More information about the cfe-commits
mailing list