[PATCH] Driver: Replace switch cases with ifs.
ruiu at google.com
Fri Feb 6 16:42:40 PST 2015
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.
Making bunch of ifs to one switch statement with bunch of cases weren't
needed for InputGraph, so I don't know why that change was made in the
In this patch I roll that change back. Now all "break"s are removed,
and the nesting is one level shallow.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 25935 bytes
Desc: not available
More information about the llvm-commits