Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Unified Diff: tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp

Issue 2563733002: hasUnqualifiedDesugaredType now comes with clang - stop defining it outselves. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698