| Index: tools/clang/rewrite_scoped_refptr/RewriteScopedRefptr.cpp
|
| diff --git a/tools/clang/rewrite_scoped_refptr/RewriteScopedRefptr.cpp b/tools/clang/rewrite_scoped_refptr/RewriteScopedRefptr.cpp
|
| index fe9d860730a82b8c77ee3a3f9b0fb8ee66178198..627a00826cdf916128992d2a560cb0ab5c126885 100644
|
| --- a/tools/clang/rewrite_scoped_refptr/RewriteScopedRefptr.cpp
|
| +++ b/tools/clang/rewrite_scoped_refptr/RewriteScopedRefptr.cpp
|
| @@ -263,8 +263,7 @@ int main(int argc, const char* argv[]) {
|
| MatchFinder match_finder;
|
| Replacements replacements;
|
|
|
| - auto is_scoped_refptr = recordDecl(isSameOrDerivedFrom("::scoped_refptr"),
|
| - isTemplateInstantiation());
|
| + auto is_scoped_refptr = recordDecl(isSameOrDerivedFrom("::scoped_refptr"));
|
|
|
| // Finds all calls to conversion operator member function. This catches calls
|
| // to "operator T*", "operator Testable", and "operator bool" equally.
|
|
|