Index: tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp |
diff --git a/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp b/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp |
index af315ea46a8b4e2819fd64f03700125483a4a026..bfea42763df2be4ee1cd66bde12c55fcf34ca489 100644 |
--- a/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp |
+++ b/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp |
@@ -78,16 +78,6 @@ AST_MATCHER(clang::CXXMethodDecl, isInstanceMethod) { |
return Node.isInstance(); |
} |
-// TODO(lukasza): Remove this matcher definition, after we pull |
-// https://reviews.llvm.org/D27207 (aka rL288366) from upstream clang. |
-AST_MATCHER_P(clang::Type, |
- hasUnqualifiedDesugaredType, |
- clang::ast_matchers::internal::Matcher<clang::Type>, |
- InnerMatcher) { |
- const clang::Type* desugaredType = Node.getUnqualifiedDesugaredType(); |
- return InnerMatcher.matches(*desugaredType, Finder, Builder); |
-} |
- |
AST_MATCHER_P(clang::FunctionTemplateDecl, |
templatedDecl, |
clang::ast_matchers::internal::Matcher<clang::FunctionDecl>, |