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

Jonas Toth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 23 09:27:48 PDT 2018


JonasToth updated this revision to Diff 156805.
JonasToth added a comment.

- rebase to master


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.156805.patch
Type: text/x-patch
Size: 474 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180723/8dbf51c3/attachment.bin>


More information about the cfe-commits mailing list