================
@@ -864,6 +864,74 @@ void FactsGenerator::handleImplicitObjectFieldUses(const
Expr *Call,
});
}
+void FactsGenerator::handleLifetimeCaptureBy(const FunctionDecl *FD,
+ ArrayRef<const Expr *> Args) {
+ bool isInstance = false;
----------------
Xazax-hun wrote:
I wonder if a more elegant way to handle `isInstance` would be to create an
`ArrayRef` that is a sub-range. I.e., dropping the first element of `Args`.
(Not hundred percent sure if it would simplify much.)
https://github.com/llvm/llvm-project/pull/196884
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits