llvm-project/clang/unittests
Daniel Jasper f49d1e0070 Change the behavior of the isDerivedFrom-matcher to not match on the
class itself. This caused some confusion (intuitively, a class is not
derived from itself) and makes it hard to write certain matchers, e.g.
"match and bind any pair of base and subclass".

The original behavior can be achieved with a new isA-matcher.  Similar
to all other matchers, this matcher has the same behavior and name as
the corresponding AST-entity - in this case the isa<>() function.

llvm-svn: 163385
2012-09-07 12:48:17 +00:00
..
AST Split library clangRewrite into clangRewriteCore and clangRewriteFrontend. 2012-09-01 05:09:24 +00:00
ASTMatchers Change the behavior of the isDerivedFrom-matcher to not match on the 2012-09-07 12:48:17 +00:00
Basic Clang side of a refactoring of the CMake unit test build strategy. 2012-06-21 09:51:42 +00:00
Frontend Split library clangRewrite into clangRewriteCore and clangRewriteFrontend. 2012-09-01 05:09:24 +00:00
Lex Clang side of a refactoring of the CMake unit test build strategy. 2012-06-21 09:51:42 +00:00
Tooling Split library clangRewrite into clangRewriteCore and clangRewriteFrontend. 2012-09-01 05:09:24 +00:00
CMakeLists.txt add AST unittests to CMake build system 2012-07-23 20:11:34 +00:00
Makefile Adds the AST Matcher library, which provides a in-C++ DSL to express 2012-07-06 05:48:52 +00:00