[PATCH] D49618: [clang-tidy] remove private decltypeType in TrailingReturnType

Jonas Toth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 20 14:53:26 PDT 2018


JonasToth created this revision.
JonasToth added reviewers: aaron.ballman, alexfh, hokein.
Herald added subscribers: cfe-commits, xazax.hun.

This patch removes a private matcher in fuchsia/TrailingReturnType check because
the matcher is now in ASTMatchers


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D49618

Files:
  clang-tidy/fuchsia/TrailingReturnCheck.cpp


Index: clang-tidy/fuchsia/TrailingReturnCheck.cpp
===================================================================
--- clang-tidy/fuchsia/TrailingReturnCheck.cpp
+++ clang-tidy/fuchsia/TrailingReturnCheck.cpp
@@ -19,8 +19,6 @@
 namespace fuchsia {
 
 namespace {
-const internal::VariadicDynCastAllOfMatcher<Type, DecltypeType> decltypeType;
-
 AST_MATCHER(FunctionDecl, hasTrailingReturn) {
   return Node.getType()->castAs<FunctionProtoType>()->hasTrailingReturn();
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49618.156615.patch
Type: text/x-patch
Size: 474 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180720/a8c869cb/attachment-0001.bin>


More information about the cfe-commits mailing list