From 3eaf7cc6e8ad6ddd7b92d6060eacac5bc39715ea Mon Sep 17 00:00:00 2001 From: daemondzh <69254262+PhrygianGates@users.noreply.github.com> Date: Wed, 16 Aug 2023 18:21:44 +0200 Subject: [PATCH] Update lib/Differentiator/ReverseModeForwPassVisitor.cpp Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- lib/Differentiator/ReverseModeForwPassVisitor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Differentiator/ReverseModeForwPassVisitor.cpp b/lib/Differentiator/ReverseModeForwPassVisitor.cpp index f90893511..2d060ab55 100644 --- a/lib/Differentiator/ReverseModeForwPassVisitor.cpp +++ b/lib/Differentiator/ReverseModeForwPassVisitor.cpp @@ -105,7 +105,7 @@ llvm::SmallVector ReverseModeForwPassVisitor::ComputeParamTypes(const DiffParams& diffParams) { llvm::SmallVector paramTypes; paramTypes.reserve(m_Function->getNumParams() * 2); - for (auto PVD : m_Function->parameters()) + for (auto *PVD : m_Function->parameters()) paramTypes.push_back(PVD->getType()); QualType effectiveReturnType =