This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Fix an abseil-redundant-strcat-calls crash on 0-parameter StrCat().
ClosedPublic

Authored by hokein on Nov 17 2020, 1:29 AM.

Diff Detail

Event Timeline

hokein created this revision.Nov 17 2020, 1:29 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 17 2020, 1:29 AM
Herald added a subscriber: xazax.hun. · View Herald Transcript
hokein requested review of this revision.Nov 17 2020, 1:29 AM
gribozavr2 accepted this revision.Nov 17 2020, 1:52 AM
gribozavr2 added inline comments.
clang-tools-extra/clang-tidy/abseil/RedundantStrcatCallsCheck.cpp
51

Remove the whole call instead of returning?

This revision is now accepted and ready to land.Nov 17 2020, 1:52 AM