Driver: Replace switch cases with ifs.
authorRui Ueyama <ruiu@google.com>
Tue, 10 Feb 2015 01:10:23 +0000 (01:10 +0000)
committerRui Ueyama <ruiu@google.com>
Tue, 10 Feb 2015 01:10:23 +0000 (01:10 +0000)
commit7960d04f13a14114b6a0a5ba2bce3ca37193134b
treefd2f853b2e26e6f5bfed248482dd7dd7f6bb372c
parentb0a19ad08a12f2fb5c2620c1498f84f25084ddfd
Driver: Replace switch cases with ifs.

We used to do like this instead of putting all command line processing
code within one gigantic switch statement. It is converted to a switch
in r188958, which introduced InputGraph.

In this patch I roll that change back. Now all "break"s are removed,
and the nesting is one level shallow.

llvm-svn: 228646
lld/lib/Driver/WinLinkDriver.cpp