HomePhabricator

[clang-tidy] Fix DanglingHandleCheck for the correct conversion operation…

Authored by sbenza on Jan 8 2018, 7:59 AM.

Description

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

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.

Reviewers: hokein

Subscribers: klimek, xazax.hun, cfe-commits

Differential Revision: https://reviews.llvm.org/D41779

llvm-svn: 322002