<div dir="ltr">Hello,<div><br></div><div>I am working on some clang-tidy checks and am trying to figure out which AST class functions can help identify from which template a generic parameter comes from, eg<br></div><div>```</div><div>template <typename T></div><div>class A {<br>   template <typename U><br>   void func(T t) {}<br>}; <br>```</div><div>where I want to know if the func parameter `T t` matches the function template or the class template. (So in this case, it would match the class template <typename T></div><div><br></div><div>New to llvm-dev/clang so please let me know if I've missed some mailing-list etiquette!</div><div><br></div><div>Best,</div><div>Yannan</div></div>