diff options
author | Jonas Toth <jonas.toth@gmail.com> | 2018-07-23 16:30:13 +0000 |
---|---|---|
committer | Jonas Toth <jonas.toth@gmail.com> | 2018-07-23 16:30:13 +0000 |
commit | f745d4304fceb04022f14aedf19374f1f230faca (patch) | |
tree | 388cd999f600f77a481e2e12e93c861415d5b9bf /clang-tidy/fuchsia | |
parent | 84a1b82ebdcf724b5b2acfc6d1d44c7aa40bca99 (diff) |
[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
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@337707 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'clang-tidy/fuchsia')
-rw-r--r-- | clang-tidy/fuchsia/TrailingReturnCheck.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/clang-tidy/fuchsia/TrailingReturnCheck.cpp b/clang-tidy/fuchsia/TrailingReturnCheck.cpp index 8494da82..7af0c9c6 100644 --- a/clang-tidy/fuchsia/TrailingReturnCheck.cpp +++ b/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(); } |