summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Toth <jonas.toth@gmail.com>2018-07-23 16:30:13 +0000
committerJonas Toth <jonas.toth@gmail.com>2018-07-23 16:30:13 +0000
commite8217f6a1f265e0bcd1f5a62d7c4c87c52424838 (patch)
tree2b38ddc7bd5613ed9e8066dc236c9d8e5516ab08
parentc79b881ccd63fdedf917b2e766f02860dc97d124 (diff)
downloadbcm5719-llvm-e8217f6a1f265e0bcd1f5a62d7c4c87c52424838.tar.gz
bcm5719-llvm-e8217f6a1f265e0bcd1f5a62d7c4c87c52424838.zip
[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 llvm-svn: 337707
-rw-r--r--clang-tools-extra/clang-tidy/fuchsia/TrailingReturnCheck.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang-tools-extra/clang-tidy/fuchsia/TrailingReturnCheck.cpp b/clang-tools-extra/clang-tidy/fuchsia/TrailingReturnCheck.cpp
index 8494da8269c..7af0c9c6020 100644
--- a/clang-tools-extra/clang-tidy/fuchsia/TrailingReturnCheck.cpp
+++ b/clang-tools-extra/clang-tidy/fuchsia/TrailingReturnCheck.cpp
@@ -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();
}
OpenPOWER on IntegriCloud