llvm-project/clang/unittests/ASTMatchers
Daniel Jasper 3dfa09bbbc Prevent assert in ASTMatchFinder.
If nodes without memoization data (e.g. TypeLocs) are bound to specific
names, that effectively prevents memoization as those elements cannot be
compared effectively. If it is tried anyway, this can lead to an assert
as demonstrated in the new test.

In the long term, the better solution will be to enable DynTypedNodes
without memoization data. For now, simply skip memoization instead.

llvm-svn: 213751
2014-07-23 13:17:47 +00:00
..
Dynamic Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
ASTMatchersTest.cpp Prevent assert in ASTMatchFinder. 2014-07-23 13:17:47 +00:00
ASTMatchersTest.h [C++11] Use 'nullptr'. Unittests edition. 2014-06-08 08:38:12 +00:00
CMakeLists.txt [CMake] Update target_link_libraries() and LLVM_LINK_COMPONENTS for each CMakeLists.txt. 2013-12-10 12:40:37 +00:00
Makefile Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00