Hey Robert,
I can highely recommend `godbolt.org`, it has support for clang-query as
additional tool when you select clang as the compiler as well as AST output.
Additionally: https://clang.llvm.org/docs/LibASTMatchersReference.html
There you get all the possible matchers you can combine. You ca
I'm looking to create AST matchers for variables that are templated. For
example, in the code:
template class Class // template <(class or typename or
int/float/etc) T>
{
public:
void Func(T* Param)// 1) match Param
{
Param = nullptr; // 2) match Param
}
T* Var =