Skip to content

Commit

Permalink
Output function name in clang-tv quiet mode error message (#1172)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmciver authored Feb 18, 2025
1 parent fe94db7 commit c0f5434
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/transform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,9 @@ static bool error(Errors &errs, State &src_state, State &tgt_state,
}
}

// Return early if instance reporting is not requested.
if (config::quiet) {
errs.add(msg, true);
s << msg << " in " << src_state.getFn().getName() << '\n';
errs.add(std::move(s).str(), true);
return false;
}

Expand Down

0 comments on commit c0f5434

Please sign in to comment.