[PATCH] D61209: [clang-tidy] Fix readability-redundant-smartptr-get for MSVC STL
Roman Lebedev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 26 12:41:08 PDT 2019
lebedev.ri added inline comments.
================
Comment at: clang-tools-extra/clang-tidy/readability/RedundantSmartptrGetCheck.cpp:60
// Catch '!ptr.get()'
- const auto CallToGetAsBool = ignoringParenImpCasts(callToGet(recordDecl(
- QuacksLikeASmartptr, has(cxxConversionDecl(returns(booleanType()))))));
+ const auto CallToGetAsBool = ignoringParenImpCasts(callToGet(recordDecl(Smartptr, has(cxxConversionDecl(returns(booleanType()))))));
Finder->addMatcher(
----------------
not clang-formatted
Repository:
rCTE Clang Tools Extra
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61209/new/
https://reviews.llvm.org/D61209
More information about the cfe-commits
mailing list