[clang] [clang-tools-extra] Handle recording inheritance for templates (PR #177273)

via cfe-commits cfe-commits at lists.llvm.org
Sun Mar 22 18:31:49 PDT 2026


================
@@ -193,6 +194,25 @@ class TypeIndexer : public RecursiveASTVisitor<TypeIndexer> {
     return true;
   }
 
+  bool TraverseSubstTemplateTypeParmTypeLoc(SubstTemplateTypeParmTypeLoc TL,
+                                            bool TraverseQualifier) {
+    // TODO: For now if we are a templated field and the substituted type is of
----------------
timon-ul wrote:

I placed it up here because I do not yet understand where (and how) exactly I need to adjust this function, but I will take your word for it and move it to that line.

https://github.com/llvm/llvm-project/pull/177273


More information about the cfe-commits mailing list