]> granicus.if.org Git - clang/commit
Use class to pass information about executable name
authorSerge Pavlov <sepavloff@gmail.com>
Tue, 29 Aug 2017 05:22:26 +0000 (05:22 +0000)
committerSerge Pavlov <sepavloff@gmail.com>
Tue, 29 Aug 2017 05:22:26 +0000 (05:22 +0000)
commit918910d6e53db4b620ae1167dc59e83f3031750e
tree3032d01f1921543d80710c794778c3a45e8d8dd2
parente4f522b72db73d13283c35e18992f96cd082b596
Use class to pass information about executable name

Information about clang executable name components, such as target and
driver mode, was passes in std::pair. With this change it is passed in
a special structure. It improves readability and makes access to this
information more convenient.

NFC.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@311981 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Driver.h
include/clang/Driver/ToolChain.h
lib/Driver/Driver.cpp
lib/Driver/ToolChain.cpp
lib/Tooling/Tooling.cpp
tools/driver/driver.cpp
unittests/Driver/CMakeLists.txt
unittests/Driver/ToolChainTest.cpp