This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Ignore implcit casts in cppcoreguidelines-owning-memory
ClosedPublic

Authored by PiotrZSL on Jul 22 2023, 9:54 AM.

Details

Summary

Add getCheckTraversalKind to the check in order
to ignore some implicit casts when matching
expresions.

Fixes: #63994

Diff Detail

Event Timeline

PiotrZSL created this revision.Jul 22 2023, 9:54 AM
Herald added a project: Restricted Project. · View Herald Transcript
PiotrZSL requested review of this revision.Jul 22 2023, 9:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 22 2023, 9:54 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
This revision is now accepted and ready to land.Jul 22 2023, 11:08 AM