[lld] r217411 - [mach-o] Fix missing { }

Rui Ueyama ruiu at google.com
Mon Sep 8 19:46:10 PDT 2014


I hope everyone committing to LLD to run clang-format before submitting.
You may not like the formatting style, and I admit sometimes I don't, but
it's better than not doing it, at least.

On Mon, Sep 8, 2014 at 7:20 PM, Nick Kledzik <kledzik at apple.com> wrote:

> Author: kledzik
> Date: Mon Sep  8 21:20:32 2014
> New Revision: 217411
>
> URL: http://llvm.org/viewvc/llvm-project?rev=217411&view=rev
> Log:
> [mach-o] Fix missing { }
>
> Modified:
>     lld/trunk/lib/Driver/DarwinLdDriver.cpp
>
> Modified: lld/trunk/lib/Driver/DarwinLdDriver.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Driver/DarwinLdDriver.cpp?rev=217411&r1=217410&r2=217411&view=diff
>
> ==============================================================================
> --- lld/trunk/lib/Driver/DarwinLdDriver.cpp (original)
> +++ lld/trunk/lib/Driver/DarwinLdDriver.cpp Mon Sep  8 21:20:32 2014
> @@ -542,9 +542,10 @@ bool DarwinLdDriver::parse(int argc, con
>        diagnostics << "warning: -multi_module is obsolete and being
> ignored\n";
>      }
>      else {
> -      if (ctx.outputMachOType() != llvm::MachO::MH_DYLIB)
> +      if (ctx.outputMachOType() != llvm::MachO::MH_DYLIB) {
>          diagnostics << "-single_module only used when creating a dylib\n";
>          return false;
> +      }
>      }
>    }
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140908/77a73723/attachment.html>


More information about the llvm-commits mailing list