clang-query> m classTemplateSpecializationDecl(<tab> clang-query: /usr/local/google/home/klimek/src/llvm/tools/clang/include/clang/ASTMatchers/Dynamic/VariantValue.h:51: ast_type_traits::ASTNodeKind clang::ast_matchers::dynamic::ArgKind::getMatcherKind() const: Assertion `K == AK_Matcher' failed.
The overloads for isSameOrDerivedFrom break the assumption at Registry.cpp:441: --- // This currently assumes that a matcher may not overload a // non-matcher, and all non-matcher overloads have identical // arguments. --- isSameOrDerivedFrom() has an overload for Matcher<NamedDecl> and for StringRef.
Fixed at r219450