I'm looking for a matcher for variables whose type is a template parameter. For example:
template<typename T> T tVal; // Match tVal int func(T tParam); // Match tParam int i = func(tVal); // Match tVal Our coding standards require the variable to have a 't' at the start of the variable name. Looking at the matcher reference, I didn't see anything obvious. Can anyone point me the right direction? Many thanks, Robert
_______________________________________________ cfe-users mailing list cfe-users@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users