]> granicus.if.org Git - clang/commit
Fix crash when encountering alias templates in isDerivedFrom matches.
authorManuel Klimek <klimek@google.com>
Fri, 2 Aug 2013 21:24:09 +0000 (21:24 +0000)
committerManuel Klimek <klimek@google.com>
Fri, 2 Aug 2013 21:24:09 +0000 (21:24 +0000)
commitb56da8c0e648d3bfd9bfe82266b9fea6a8df8a00
tree235ed117e4ed53873859c9c8173c5891308dc72d
parent8d3794e06a63578093bd71c3c2520bd01e6197a3
Fix crash when encountering alias templates in isDerivedFrom matches.

- pull out function to drill to the CXXRecordDecl from the type,
  to allow recursive resolution
- make the analysis more robust by rather skipping values we don't
  understand

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187676 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ASTMatchers/ASTMatchFinder.cpp
unittests/ASTMatchers/ASTMatchersTest.cpp