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

via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 11 01:49:34 PDT 2026


================
@@ -1118,6 +1118,11 @@ const Symbol *SymbolCollector::addDeclaration(const NamedDecl &ND, SymbolID ID,
   if (ND.getAvailability() == AR_Deprecated)
     S.Flags |= Symbol::Deprecated;
 
+  if (isImplicitTemplateInstantiation(&ND)) {
----------------
timon-ul wrote:

Hm, at least for now I cannot see what case we would need docs. I guess when the need arises we can think about solving this problem. Don't think this warrants a TODO yet either.

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


More information about the cfe-commits mailing list