This is an archive of the discontinued LLVM Phabricator instance.

[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
other unevaluated context.

Fixes: #35857

Diff Detail

Event Timeline

PiotrZSL created this revision.Aug 8 2023, 1:41 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 8 2023, 1:41 AM
Herald added a subscriber: xazax.hun. · View Herald Transcript
PiotrZSL requested review of this revision.Aug 8 2023, 1:41 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 8 2023, 1:41 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
This revision is now accepted and ready to land.Aug 14 2023, 1:40 PM