================
@@ -159,6 +159,8 @@ class SymbolCollector : public index::IndexDataConsumer {
   void finish() override;
 
 private:
+  std::vector<CXXConstructorDecl *> findIndirectConstructors(const Decl *D);
----------------
HighCommander4 wrote:

Let's add a comment, something like:

```c++
// If D is an instantiation of a likely forwarding function, return the
// constructors it invokes so that we can record indirect references
// to those as well.
```

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