Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
vgvassilev authored and PetroZarytskyi committed Nov 20, 2023
1 parent b65514c commit a3975a6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/Differentiator/TBRAnalyzer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -757,8 +757,6 @@ void TBRAnalyzer::VisitCallExpr(const clang::CallExpr* CE) {
resetMode();
const auto* B = arg->IgnoreParenImpCasts();
// FIXME: this supports only DeclRefExpr
llvm::SmallVector<Expr*, 4> ExprsToStore;
utils::GetInnermostReturnExpr(arg, ExprsToStore);
if (passByRef) {
/// Mark SourceLocation as required to store for ref-type arguments.
if (isa<DeclRefExpr>(B) || isa<MemberExpr>(B)) {
Expand Down

0 comments on commit a3975a6

Please sign in to comment.