[llvm-commits] [llvm] r163100 - /llvm/trunk/lib/Target/MBlaze/AsmParser/MBlazeAsmParser.cpp

Dmitri Gribenko gribozavr at gmail.com
Sun Sep 2 21:13:31 PDT 2012


On Mon, Sep 3, 2012 at 4:55 AM, Chad Rosier <mcrosier at apple.com> wrote:
>    case Match_InvalidOperand:
> -    ErrorLoc = IDLoc;
> +    SMLoc ErrorLoc = IDLoc;
>      if (ErrorInfo != ~0U) {
>        if (ErrorInfo >= Operands.size())
>          return Error(IDLoc, "too few operands for instruction");

Please put braces around the case body...break then.

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/



More information about the llvm-commits mailing list