Driver: extract a local variable for the Toolchain (NFC)
authorSaleem Abdulrasool <compnerd@compnerd.org>
Tue, 18 Sep 2018 22:14:50 +0000 (22:14 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Tue, 18 Sep 2018 22:14:50 +0000 (22:14 +0000)
commit3806c5361a2d8b9b1da8dd6c1346e9360c9c19f6
tree5cb4e1469de4b624d38509058f7f9bbf60470e51
parentfcfcd508e433625c8b3b884d2e98c8c709667dbe
Driver: extract a local variable for the Toolchain (NFC)

Create and store a reference to the current toolchain rather than calling
`getToolChain` throughout the function.  NFC.

llvm-svn: 342515
clang/lib/Driver/ToolChains/Clang.cpp