Fix for 20061
Diff Detail
Event Timeline
BTW can I reformat the files? there are some places that clang-format find inappropriate.
We should have split the file loooong ago. Thanks for doing this!
One comment re: file names. Would it be better to leave "ASTMatchersTest" or "ASTMatchers" prefix for all file names you create? E.g. "ASTMatchersTestTraversal.cpp", "ASTMatchersTestNarrowing.cpp", ....
I guess it would be better to do it the same way as in unit tests of AST - like ASTContextParentMapTest.cpp or ASTVectorTest.cpp
I think "Test" suffix is must have, so I can chcange it to ASTMatchersTraversalTest.cpp, ASTMatchersNarrowingTest.cpp
rebased with master
Added tests for matchers hasCastKind and hasDynamicExceptionSpec()
nit: Too many empty lines.