[PATCH] Fix PR21945

Jonathan Roelofs jonathan at codesourcery.com
Mon Jun 1 07:30:58 PDT 2015


+cfe-commits

On 6/1/15 7:56 AM, Косов Евгений wrote:
> Hello.
>
> https://llvm.org/bugs/show_bug.cgi?id=21945
> Fix is simple - do not enter in a loop body iterating an empty container.

Going forward, Clang patches should be sent to cfe-commits at cs.uiuc.edu. 
Also, please upload patches with more context (i.e. `git diff -U999`).

>
> If the patch is ok how can it be committed into trunk?

While you're here, mind putting an llvm_unreachable after the loop body?

> Do I need to sign something?

No. You can get commit access by following: 
http://llvm.org/docs/DeveloperPolicy.html#id16, or one of us can commit 
it for you after you've got a "LGTM" on it.


Cheers,

Jon

>
> Eugene
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>

-- 
Jon Roelofs
jonathan at codesourcery.com
CodeSourcery / Mentor Embedded




More information about the llvm-commits mailing list