]> granicus.if.org Git - clang/commit
[ASTMatchers] add three matchers for dependent expressions
authorJonas Toth <jonas.toth@gmail.com>
Tue, 11 Sep 2018 16:09:19 +0000 (16:09 +0000)
committerJonas Toth <jonas.toth@gmail.com>
Tue, 11 Sep 2018 16:09:19 +0000 (16:09 +0000)
commit0a8a76da18b28bea9500c5f4539fe9c65075b4ac
treedd10e2c013b6673a07fd19d35e955da927ae0ca5
parent7dfb64163cbc0a4ba1286a679dec3eab1e79ad2d
[ASTMatchers] add three matchers for dependent expressions

Summary:
The new matchers can be used to check if an expression is type-, value- or instantiation-dependent
in a templated context.
These matchers are used in a clang-tidy check and generally useful as the
problem of unresolved templates occurs more often in clang-tidy and they
provide an easy way to check for this issue.

Reviewers: aaron.ballman, alexfh, klimek

Reviewed By: aaron.ballman

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D51880

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@341958 91177308-0d34-0410-b5e6-96231b3b80d8
docs/LibASTMatchersReference.html
include/clang/ASTMatchers/ASTMatchers.h
lib/ASTMatchers/Dynamic/Registry.cpp
unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp