[llvm-commits] [llvm] r163100 - /llvm/trunk/lib/Target/MBlaze/AsmParser/MBlazeAsmParser.cpp
    Chad Rosier 
    mcrosier at apple.com
       
    Mon Sep  3 09:22:57 PDT 2012
    
    
  
On Sep 2, 2012, at 9:13 PM, Dmitri Gribenko wrote:
> 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.
Can do. Committed revision 163116. Thanks, Dmitri.
> 
> 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