llvm-project/clang/lib/ASTMatchers
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
..
ASTMatchFinder.cpp Change the behavior of the isDerivedFrom-matcher to not match on the 2012-09-07 12:48:17 +00:00
ASTMatchersInternal.cpp Fixes a bug for binding memoized match results. 2012-08-30 19:41:06 +00:00
CMakeLists.txt Move RefactoringCallbacks to Tooling to avoid dependency from 2012-07-17 08:03:01 +00:00
Makefile