[all-commits] [llvm/llvm-project] 76c3ec: [clang][Tooling] Optimize addTargetAndMode in case...

kadir çetinkaya via All-commits all-commits at lists.llvm.org
Mon Aug 3 05:01:37 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 76c3ec814dec8eef020490b5d3a640d873b5918b
      https://github.com/llvm/llvm-project/commit/76c3ec814dec8eef020490b5d3a640d873b5918b
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2020-08-03 (Mon, 03 Aug 2020)

  Changed paths:
    M clang/lib/Tooling/Tooling.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list