]> granicus.if.org Git - clang/commit
Driver: simplify getDynameLinker
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 22 May 2016 01:37:36 +0000 (01:37 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 22 May 2016 01:37:36 +0000 (01:37 +0000)
commit809f5c72b6dbfdae5bda51cc68218c716f2eedf9
treedf012537c4ae639b6a4d42472b268b21f878591d
parent6316b9663a9883c0e44764a47c1f1c7fdc05fced
Driver: simplify getDynameLinker

Convert the cascading if/else to a switch.  This makes it easier to follow the
logic.  Minor difference is that we no longer default to x86_64 but rather to
the architecture specified by the architecture.

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