This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Make readability-container-data-pointer use <string> header
ClosedPublic

Authored by mikecrowe on Mar 4 2023, 1:04 PM.

Details

Summary

This requires operator[] to be added to the std::basic_string
implementation.

Depends on D144216

Diff Detail

Event Timeline

mikecrowe created this revision.Mar 4 2023, 1:04 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 4 2023, 1:04 PM
Herald added a subscriber: xazax.hun. · View Herald Transcript
mikecrowe requested review of this revision.Mar 4 2023, 1:04 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 4 2023, 1:04 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
carlosgalvezp accepted this revision.Mar 5 2023, 9:29 AM

LGTM, would you mind rebasing to get the pre-merge jobs green?

This revision is now accepted and ready to land.Mar 5 2023, 9:29 AM
mikecrowe updated this revision to Diff 503882.Mar 9 2023, 12:40 PM

Rebase on top of fb7ef637a84652dbd3d973a1ba7db9470181b5aa (which is a
descendent of ae25e2f19decb94198301f0726ee613f945cc405 aka D144216, on
which this change relies.)