Add getCheckTraversalKind to the check in order
to ignore some implicit casts when matching
expresions.
Fixes: #63994
Paths
| Differential D156031
[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 Fixes: #63994
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 22 2023, 11:08 AM Closed by commit rG5b5b75bfd4d4: [clang-tidy] Ignore implcit casts in cppcoreguidelines-owning-memory (authored by PiotrZSL). · Explain WhyJul 22 2023, 12:26 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 543221 clang-tools-extra/clang-tidy/cppcoreguidelines/OwningMemoryCheck.h
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/owning-memory.cpp
|