Problem in Documentation

Dear Developers,

Can someone please explain me the following lines in the AST Matcher documentation?

I think that somebody has left this here with a typo and it was probably never noticed again. It simply won’t compile!

I suppose the keyword class is supposed to be replaced with something that makes a conversion to a QualType…

Looking forward to your response!


I suspect you are probably right. This comment has been committed long time ago.
Since you’ve looked into the problem - would you have a suggestion how to fix the comment?


I was more like expecting answer to let me achieve what I wanted.

I was hoping to check the template parameters from a list of types that I could define, which is possible for variable types but not the template types.

It is definitely possible to check template parameter against a defined type, but I have many types that I have to check against, therefore I need such an utility…