Using 'hasUnqualifiedDesugaredType' to skip all type aliases when
checking for handle.
Fixes #38779
Differential D148418
[clang-tidy] Fix typedefs handling in bugprone-dangling-handle PiotrZSL on Apr 15 2023, 1:23 AM. Authored by
Details Using 'hasUnqualifiedDesugaredType' to skip all type aliases when Fixes #38779
Diff Detail
Event Timeline
|
Right now the test will no longer test classes that have the conversion operator written explicitly instead of via typedef. Do you think it's worth keeping the other implementation as well, or can we safely assume that basic_string is always implemented like this?