Pull out a bunch of duplicated option handling code into its own
authorEric Christopher <echristo@gmail.com>
Tue, 22 Dec 2015 03:12:34 +0000 (03:12 +0000)
committerEric Christopher <echristo@gmail.com>
Tue, 22 Dec 2015 03:12:34 +0000 (03:12 +0000)
commit49062a51b444ecf222013eebfee29ad2a5d21609
tree5de8a39cbdd26515c2ea98e851244b8806ef7c3a
parentb0fb6e85088979261fcaaa92244b2990f1c1b640
Pull out a bunch of duplicated option handling code into its own
function and use for the targets that can easily support it.

llvm-svn: 256230
clang/lib/Driver/Tools.cpp