This revision was automatically updated to reflect the committed changes. Closed by commit rL337707: [clang-tidy] remove private decltypeType in TrailingReturnType (authored by JonasToth, committed by ). Herald added a subscriber: llvm-commits.
Repository: rL LLVM https://reviews.llvm.org/D49618 Files: clang-tools-extra/trunk/clang-tidy/fuchsia/TrailingReturnCheck.cpp Index: clang-tools-extra/trunk/clang-tidy/fuchsia/TrailingReturnCheck.cpp =================================================================== --- clang-tools-extra/trunk/clang-tidy/fuchsia/TrailingReturnCheck.cpp +++ clang-tools-extra/trunk/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(); }
Index: clang-tools-extra/trunk/clang-tidy/fuchsia/TrailingReturnCheck.cpp =================================================================== --- clang-tools-extra/trunk/clang-tidy/fuchsia/TrailingReturnCheck.cpp +++ clang-tools-extra/trunk/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(); }
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits