From fa1ea6977c37f4d6ac89907215dfa04b50f7ab8b Mon Sep 17 00:00:00 2001 From: Jonas Toth Date: Mon, 23 Jul 2018 15:59:27 +0000 Subject: [ASTMatchers] add matcher for decltypeType and its underlyingType Summary: This patch introduces a new matcher for `DecltypeType` and its underlying type in order to fix a bug in clang-tidy, see https://reviews.llvm.org/D48717 for more. Reviewers: aaron.ballman, alexfh, NoQ, dcoughlin Reviewed By: aaron.ballman Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D48759 llvm-svn: 337703 --- clang/lib/ASTMatchers/ASTMatchersInternal.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/lib/ASTMatchers/ASTMatchersInternal.cpp') diff --git a/clang/lib/ASTMatchers/ASTMatchersInternal.cpp b/clang/lib/ASTMatchers/ASTMatchersInternal.cpp index d8af47d7505..0c5902d20c2 100644 --- a/clang/lib/ASTMatchers/ASTMatchersInternal.cpp +++ b/clang/lib/ASTMatchers/ASTMatchersInternal.cpp @@ -800,6 +800,7 @@ const AstTypeMatcher incompleteArrayType; const AstTypeMatcher variableArrayType; const AstTypeMatcher atomicType; const AstTypeMatcher autoType; +const AstTypeMatcher decltypeType; const AstTypeMatcher functionType; const AstTypeMatcher functionProtoType; const AstTypeMatcher parenType; -- cgit v1.2.3