diff --git a/lib/Differentiator/TBRAnalyzer.cpp b/lib/Differentiator/TBRAnalyzer.cpp index af21d1061..dfa3fb596 100644 --- a/lib/Differentiator/TBRAnalyzer.cpp +++ b/lib/Differentiator/TBRAnalyzer.cpp @@ -757,8 +757,6 @@ void TBRAnalyzer::VisitCallExpr(const clang::CallExpr* CE) { resetMode(); const auto* B = arg->IgnoreParenImpCasts(); // FIXME: this supports only DeclRefExpr - llvm::SmallVector ExprsToStore; - utils::GetInnermostReturnExpr(arg, ExprsToStore); if (passByRef) { /// Mark SourceLocation as required to store for ref-type arguments. if (isa(B) || isa(B)) {