On 1 November 2012 15:59, Edwin Vane <[email protected]> wrote:
>   Instead of using 'atom' as default cpu name, after some internal 
> consultation, 'core2' is a better common denominator for x86 android. Added 
> tests to test/Driver/clang-translation.c.

Why? Can you add a comment saying why core2 makes sense?

> +  const bool isAndroid = getToolChain().getTriple().getEnvironment() ==
> +                         llvm::Triple::Android;

I think it is more common to break after the =, not the ==, would that fit?

LGTM with those changes.

Cheers,
Rafael
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to