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 =