<div dir="ltr">Hi Richard,<br><br>I need to use the function (line 747 of <a href="http://clang.llvm.org/doxygen/ASTMatchFinder_8cpp_source.html">ASTMatchFinder.cpp</a>):<div><br><div>  static CXXRecordDecl *getAsCXXRecordDecl(const Type *TypeNode)<div><br></div><div>in the misc-virtual-near-miss check of clang-tidy, because it can correctly get the declaration of a template type, while QualType::getAsCXXRecordDecl cannot. </div></div><div><br></div><div>But this function is not accessible in clang-tidy check. I think we should make this function public accessible since its useful. Could you please tell me how to do it? Thanks a lot.</div></div><div><br></div><div>Best regards,</div><div>Cong</div></div>