b977b6a59b 
								
							 
						 
						
							
							
								
								Relax an assertion, fixing PR1968  
							
							... 
							
							
							
							llvm-svn: 46742 
							
						 
						
							2008-02-05 06:37:34 +00:00  
				
					
						
							
							
								 
						
							
								ce0740e1f5 
								
							 
						 
						
							
							
								
								Handle binary or in constant expressions.  
							
							... 
							
							
							
							llvm-svn: 46482 
							
						 
						
							2008-01-29 01:33:32 +00:00  
				
					
						
							
							
								 
						
							
								0674a7417f 
								
							 
						 
						
							
							
								
								Correctly handle constants that refer to enums.  
							
							... 
							
							
							
							llvm-svn: 46481 
							
						 
						
							2008-01-29 01:28:48 +00:00  
				
					
						
							
							
								 
						
							
								6f2a10e8c9 
								
							 
						 
						
							
							
								
								Correctly handle scalars in braces.  
							
							... 
							
							
							
							llvm-svn: 46480 
							
						 
						
							2008-01-29 01:15:48 +00:00  
				
					
						
							
							
								 
						
							
								41a1ef0dfe 
								
							 
						 
						
							
							
								
								implement proper support for _Bool in memory, which is usually i8, not i1.  
							
							... 
							
							
							
							This fixes a crash reported by Seo Sanghyeon
llvm-svn: 45778 
							
						 
						
							2008-01-09 18:47:25 +00:00  
				
					
						
							
							
								 
						
							
								37bd2ecb11 
								
							 
						 
						
							
							
								
								local static vars are globals also.  This fixes a testcase  
							
							... 
							
							
							
							reported by Seo.
llvm-svn: 45156 
							
						 
						
							2007-12-18 08:16:44 +00:00  
				
					
						
							
							
								 
						
							
								11fbda2b5a 
								
							 
						 
						
							
							
								
								Reimplement support for strings that initialize global inits now that  
							
							... 
							
							
							
							the types are right in sema.  Thanks Steve.
llvm-svn: 44834 
							
						 
						
							2007-12-11 01:38:45 +00:00  
				
					
						
							
							
								 
						
							
								f727faf2ed 
								
							 
						 
						
							
							
								
								Explicitly set the string literal type from "char *" to "constant array of char".  
							
							... 
							
							
							
							At this point, I am fairly certain the front-end is correct. Unfortunately, the back-end is still unhappy.
That said, I've commented out the two lines in globalinit.c that are causing problems.
Chris, please have a look...thanks!
llvm-svn: 44823 
							
						 
						
							2007-12-11 00:00:01 +00:00  
				
					
						
							
							
								 
						
							
								433fb26707 
								
							 
						 
						
							
							
								
								add support for implicit cast from array to pointer that is not the element  
							
							... 
							
							
							
							type.
llvm-svn: 44809 
							
						 
						
							2007-12-10 19:50:32 +00:00  
				
					
						
							
							
								 
						
							
								e665077f9a 
								
							 
						 
						
							
							
								
								disable case that makes this fail.  
							
							... 
							
							
							
							llvm-svn: 44807 
							
						 
						
							2007-12-10 19:44:50 +00:00  
				
					
						
							
							
								 
						
							
								686628e052 
								
							 
						 
						
							
							
								
								extend or truncate the initializer for a string initializer to match its type.  
							
							... 
							
							
							
							llvm-svn: 44751 
							
						 
						
							2007-12-10 00:00:56 +00:00  
				
					
						
							
							
								 
						
							
								c25c42f3ca 
								
							 
						 
						
							
							
								
								Implement codegen support for:  
							
							... 
							
							
							
							char text[8] = "string";
Big fixme remains.
llvm-svn: 44750 
							
						 
						
							2007-12-09 23:49:42 +00:00  
				
					
						
							
							
								 
						
							
								283d094b75 
								
							 
						 
						
							
							
								
								implement support for functions that initialize globals.  
							
							... 
							
							
							
							llvm-svn: 44730 
							
						 
						
							2007-12-09 00:36:01 +00:00  
				
					
						
							
							
								 
						
							
								e4f0feb534 
								
							 
						 
						
							
							
								
								Fix buggy test  
							
							... 
							
							
							
							llvm-svn: 44513 
							
						 
						
							2007-12-02 07:46:00 +00:00  
				
					
						
							
							
								 
						
							
								d8d18d561e 
								
							 
						 
						
							
							
								
								add codegen support for global inits that require array decay.  
							
							... 
							
							
							
							llvm-svn: 44511 
							
						 
						
							2007-12-02 07:30:13 +00:00  
				
					
						
							
							
								 
						
							
								5bcdf24a50 
								
							 
						 
						
							
							
								
								Handle global variable definitions which change the type of a definition, such as:  
							
							... 
							
							
							
							extern int x[];
void foo() { x[0] = 1; }
int x[10];
void bar() { x[0] = 1; }
llvm-svn: 44509 
							
						 
						
							2007-12-02 07:09:19 +00:00  
				
					
						
							
							
								 
						
							
								19c2b9a66f 
								
							 
						 
						
							
							
								
								Codegen global array initializers.  
							
							... 
							
							
							
							llvm-svn: 43383 
							
						 
						
							2007-10-26 16:31:40 +00:00