forked from OSchip/llvm-project
				
			Permit signed and unsigned integer constants to be used with either signed
or unsigned integer types. llvm-svn: 32816
This commit is contained in:
		
							parent
							
								
									e9da1b0ae0
								
							
						
					
					
						commit
						77283c18a1
					
				| 
						 | 
				
			
			@ -708,7 +708,7 @@ ConstVal: Types '[' ConstVector ']' { // Nonempty unsized arr
 | 
			
		|||
    *$$.cnst += " " + *$2;
 | 
			
		||||
    delete $2;
 | 
			
		||||
  }
 | 
			
		||||
  | UIntType EUINT64VAL {            // integral constants
 | 
			
		||||
  | UIntType EInt64Val {            // integral constants
 | 
			
		||||
    $$.type = $1;
 | 
			
		||||
    $$.cnst = new std::string($1->getNewTy());
 | 
			
		||||
    *$$.cnst += " " + *$2;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue