]> granicus.if.org Git - clang/commit
[ASTMatchers] add matcher for decltypeType and its underlyingType
authorJonas Toth <jonas.toth@gmail.com>
Mon, 23 Jul 2018 15:59:27 +0000 (15:59 +0000)
committerJonas Toth <jonas.toth@gmail.com>
Mon, 23 Jul 2018 15:59:27 +0000 (15:59 +0000)
commitfbd6d5e462c9daeba44d2c0787265f47575ad5f3
tree6a4134a31209d356d20ecb6cbb6e727b5c442699
parent652c337ae039a437c83a5884f8be76cbc2102113
[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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@337703 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/ASTMatchers/ASTMatchers.h
lib/ASTMatchers/ASTMatchersInternal.cpp
lib/ASTMatchers/Dynamic/Registry.cpp
unittests/ASTMatchers/ASTMatchersNodeTest.cpp