<div dir="ltr">I believe I've found a mistake in the documentation for the `refersToType` AST matcher: <a href="https://clang.llvm.org/docs/LibASTMatchersReference.html#refersToType0">https://clang.llvm.org/docs/LibASTMatchersReference.html#refersToType0</a><div><br></div><div>The example code makes use of a matcher called `class`, but I am unable to find such a matcher in the docs, and when I try to use it in clang-query I get a "matcher not found" error.</div><div><br></div><div>I'd be happy to make a patch to the docs, but am actually having trouble using the `refersToType` matcher at the moment. I'm trying to match calls to `std::make_unique` specialized with a particular class. That is, I want `std::make_unique<Demo::Widget>`, but not `std::make_unique<Something::Else>`. I'd also be happy with a way to filter for the correct matches in the MatchCallback.</div><div><br></div><div>There's a stackoverflow post with a complete code example and a couple things I've tried available at <a href="https://stackoverflow.com/q/58443058/1586229">https://stackoverflow.com/q/58443058/1586229</a></div><div><br></div><div>Thanks,</div><div>-Brian</div></div>