[lld] r293278 - [ELF] Fixed formatting. NFC

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 27 10:20:29 PST 2017


Thanks!

Eugene Leviant via llvm-commits <llvm-commits at lists.llvm.org> writes:

> Author: evgeny777
> Date: Fri Jan 27 05:06:23 2017
> New Revision: 293278
>
> URL: http://llvm.org/viewvc/llvm-project?rev=293278&view=rev
> Log:
> [ELF] Fixed formatting. NFC
>
> Modified:
>     lld/trunk/ELF/OutputSections.cpp
>
> Modified: lld/trunk/ELF/OutputSections.cpp
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/OutputSections.cpp?rev=293278&r1=293277&r2=293278&view=diff
> ==============================================================================
> --- lld/trunk/ELF/OutputSections.cpp (original)
> +++ lld/trunk/ELF/OutputSections.cpp Fri Jan 27 05:06:23 2017
> @@ -651,10 +651,10 @@ OutputSectionFactory<ELFT>::create(const
>        error("Section has flags incompatible with others with the same name " +
>              toString(C));
>  
> -     // Convert notbits to progbits if they are mixed. This happens is some
> -     // linker scripts.
> -     if (Sec->Type == SHT_NOBITS && C->Type == SHT_PROGBITS)
> -       Sec->Type = SHT_PROGBITS;
> +    // Convert notbits to progbits if they are mixed. This happens is some
> +    // linker scripts.
> +    if (Sec->Type == SHT_NOBITS && C->Type == SHT_PROGBITS)
> +      Sec->Type = SHT_PROGBITS;
>      if (!IsScripted && Sec->Type != C->Type &&
>          !(Sec->Type == SHT_PROGBITS && C->Type == SHT_NOBITS))
>        error("Section has different type from others with the same name " +
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits


More information about the llvm-commits mailing list