[clang-tools-extra] r337707 - [clang-tidy] remove private decltypeType in TrailingReturnType

Jonas Toth via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 23 09:30:13 PDT 2018


Author: jonastoth
Date: Mon Jul 23 09:30:13 2018
New Revision: 337707

URL: http://llvm.org/viewvc/llvm-project?rev=337707&view=rev
Log:
[clang-tidy] remove private decltypeType in TrailingReturnType

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

Reviewers: aaron.ballman, alexfh, hokein

Reviewed By: aaron.ballman

Subscribers: xazax.hun, cfe-commits

Differential Revision: https://reviews.llvm.org/D49618

Modified:
    clang-tools-extra/trunk/clang-tidy/fuchsia/TrailingReturnCheck.cpp

Modified: clang-tools-extra/trunk/clang-tidy/fuchsia/TrailingReturnCheck.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/fuchsia/TrailingReturnCheck.cpp?rev=337707&r1=337706&r2=337707&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/fuchsia/TrailingReturnCheck.cpp (original)
+++ clang-tools-extra/trunk/clang-tidy/fuchsia/TrailingReturnCheck.cpp Mon Jul 23 09:30:13 2018
@@ -19,8 +19,6 @@ namespace tidy {
 namespace fuchsia {
 
 namespace {
-const internal::VariadicDynCastAllOfMatcher<Type, DecltypeType> decltypeType;
-
 AST_MATCHER(FunctionDecl, hasTrailingReturn) {
   return Node.getType()->castAs<FunctionProtoType>()->hasTrailingReturn();
 }




More information about the cfe-commits mailing list