This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Fix DanglingHandleCheck for the correct conversion operation between basic_string and basic_string_view.
ClosedPublic

Authored by sbenza on Jan 5 2018, 10:45 AM.

Details

Summary

Fix DanglingHandleCheck to handle the final implementation of std::string and std::string_view.
These use a conversion operator instead of a conversion constructor.

Diff Detail

Repository
rL LLVM

Event Timeline

sbenza created this revision.Jan 5 2018, 10:45 AM
hokein accepted this revision.Jan 8 2018, 12:41 AM

LGTM

This revision is now accepted and ready to land.Jan 8 2018, 12:41 AM
This revision was automatically updated to reflect the committed changes.