================
@@ -576,6 +576,50 @@ SymbolCollector::getRefContainer(const Decl *Enclosing,
   return Enclosing;
 }
 
+bool SymbolCollector::isLikelyForwardingFunctionCached(
+    const FunctionTemplateDecl *FT) {
+  if (LikelyForwardingFunctionCached.contains(FT))
+    return true;
+  if (isLikelyForwardingFunction(FT)) {
+    LikelyForwardingFunctionCached.insert(FT);
+    return true;
+  }
+  return false;
+}
+
+bool SymbolCollector::potentiallyForwardInBody(const Decl *D) {
+  if (auto *FD = llvm::dyn_cast<clang::FunctionDecl>(D);
----------------
timon-ul wrote:

I see, misconception on my end. I was under the assumption they would get 
parsed but when I think about it that indeed does not make too much sense.

https://github.com/llvm/llvm-project/pull/169742
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to