]> granicus.if.org Git - clang/commit
Driver: reduce search logic duplication
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 25 Oct 2014 23:33:21 +0000 (23:33 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 25 Oct 2014 23:33:21 +0000 (23:33 +0000)
commitbc43c544b204879460238ee36e4ccf645a3b62f5
treea48d00fc43beea374f1692bc331e97b040c5a34b
parent778421dce95cf5a655f6a5a1a100fadd6a935ed8
Driver: reduce search logic duplication

Refactor the path search into a helper function to avoid duplicating the path
handling for the search.  NFC.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@220628 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Driver.h
lib/Driver/Driver.cpp