HomePhabricator

[clang][Tooling] Optimize addTargetAndMode in case of invalid modes

Authored by kadircet on Aug 1 2020, 10:03 AM.

Description

[clang][Tooling] Optimize addTargetAndMode in case of invalid modes

This skips searching for target related flags in the existing args if
we don't have a valid target to insert.

Depends on D85076

Differential Revision: https://reviews.llvm.org/D85077