parent
							
								
									ce5dc8a6b4
								
							
						
					
					
						commit
						531efa43d8
					
				| 
						 | 
					@ -281,12 +281,7 @@ bool NumericLiteralParser::GetIntegerValue(APInt &Val) {
 | 
				
			||||||
    unsigned C = HexLetterToVal(*s++);
 | 
					    unsigned C = HexLetterToVal(*s++);
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    // If this letter is out of bound for this radix, reject it.
 | 
					    // If this letter is out of bound for this radix, reject it.
 | 
				
			||||||
    if (C >= radix) {
 | 
					    assert(C < radix && "NumericLiteralParser ctor should have rejected this");
 | 
				
			||||||
      // FIXME: This is an error, not a warning.  This should be caught by
 | 
					 | 
				
			||||||
      // NumericLiteralParser ctor.
 | 
					 | 
				
			||||||
      C = C % radix;
 | 
					 | 
				
			||||||
      OverflowOccurred = true;
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    CharVal = C;
 | 
					    CharVal = C;
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue