HomePhabricator

Introduce the abseil-redundant-strcat-calls check.

Authored by aaron.ballman on Aug 29 2018, 4:29 AM.

Description

Introduce the abseil-redundant-strcat-calls check.

This flags redundant calls to absl::StrCat where the result is being passed to another call to absl::StrCat or absl::StrAppend. Patch by Hugo Gonzalez and Samuel Benzaquen.

llvm-svn: 340918

Details

Committed
aaron.ballmanAug 29 2018, 4:29 AM
Parents
rG09cc7af85a95: [DAGCombiner] Add X / X -> 1 & X % X -> 0 folds (test tweaks)
Branches
Unknown
Tags
Unknown