llvm-project/clang/unittests
Daniel Jasper 83dafaf3db Fix isDerivedFrom matcher.
Without this patch, the isDerivedFrom matcher asserts in the
"assert(ClassDecl != NULL);" in the new test, as a
DependentTemplateSpecilizationType is not a sub-type of
TemplateSpecializationType and also does not offer getAsCXXRecordDecl().

I am not sure why this did not cause problems before. It is now (after
the changed implementation of isDerivedFrom) easier to write a matcher
that actually gets into this branch of the code.

llvm-svn: 164127
2012-09-18 14:17:42 +00:00
..
AST Comment parsing: don't parse comment marker followed by a digit as a command 2012-09-14 16:35:35 +00:00
ASTMatchers Fix isDerivedFrom matcher. 2012-09-18 14:17:42 +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