This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Added bugprone-multi-level-implicit-pointer-conversion check
ClosedPublic

Authored by PiotrZSL on Apr 24 2023, 11:48 AM.

Details

Summary

Detects implicit conversions between pointers of different levels of
indirection.

Diff Detail

Event Timeline

PiotrZSL created this revision.Apr 24 2023, 11:48 AM
Herald added a project: Restricted Project. · View Herald Transcript
PiotrZSL requested review of this revision.Apr 24 2023, 11:48 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 24 2023, 11:48 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
Eugene.Zelenko added inline comments.
clang-tools-extra/docs/clang-tidy/checks/bugprone/multi-level-implicit-pointer-conversion.rst
44

Should continue previous line.

xgupta accepted this revision.Jul 27 2023, 7:00 AM
xgupta added a subscriber: xgupta.

LGTM, Thanks!

This revision is now accepted and ready to land.Jul 27 2023, 7:00 AM
PiotrZSL marked an inline comment as done.Jul 27 2023, 7:59 AM