[cfe-commits] r141309 - /cfe/trunk/lib/Driver/ToolChains.cpp
Chandler Carruth
chandlerc at google.com
Thu Oct 6 14:54:15 PDT 2011
On Thu, Oct 6, 2011 at 1:27 PM, Bob Wilson <bob.wilson at apple.com> wrote:
> Author: bwilson
> Date: Thu Oct 6 15:27:40 2011
> New Revision: 141309
>
> URL: http://llvm.org/viewvc/llvm-project?rev=141309&view=rev
> Log:
> Rearrange for readability. No functional change.
>
> Modified:
> cfe/trunk/lib/Driver/ToolChains.cpp
>
> Modified: cfe/trunk/lib/Driver/ToolChains.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains.cpp?rev=141309&r1=141308&r2=141309&view=diff
>
> ==============================================================================
> --- cfe/trunk/lib/Driver/ToolChains.cpp (original)
> +++ cfe/trunk/lib/Driver/ToolChains.cpp Thu Oct 6 15:27:40 2011
> @@ -131,9 +131,10 @@
> if (Value == "armv4t")
> return "armv4t";
>
> - if (Value == "armv7" || Value == "armv7-a" || Value == "armv7-r" ||
> - Value == "armv7-m" || Value == "armv7a" || Value == "armv7r" ||
> - Value == "armv7m")
> + if (Value == "armv7" ||
> + Value == "armv7a" || Value == "armv7-a" ||
> + Value == "armv7r" || Value == "armv7-r" ||
> + Value == "armv7m" || Value == "armv7-m")
>
If you're cleaning in here, use StringSwitch?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20111006/92be9634/attachment.html>
More information about the cfe-commits
mailing list