772324971d 
								
							 
						 
						
							
							
								
								- Fixed subexpressions evaluation order for binary operators to match order in code generated with the compiler,  
							
							... 
							
							
							
							- Fixed test cases for unreachable code warnings produced by Sema.
llvm-svn: 117220 
							
						 
						
							2010-10-24 08:21:40 +00:00  
				
					
						
							
							
								 
						
							
								f2b0a1bfa0 
								
							 
						 
						
							
							
								
								Enhance -Wunreachable-code to not consider the 'default:' branch of a switch statement live if a switch on an enum value has  
							
							... 
							
							
							
							explicit 'case:' statements for each enum value.
llvm-svn: 113451 
							
						 
						
							2010-09-09 00:06:10 +00:00  
				
					
						
							
							
								 
						
							
								af7534f084 
								
							 
						 
						
							
							
								
								Get rid of the "functions declared 'noreturn' should have a 'void' result type" warning.  
							
							... 
							
							
							
							The rationale behind this is that it is normal for callback functions to have a non-void return type
and it should still be possible to mark them noreturn. (JavaScriptCore is a good example of this).
llvm-svn: 112918 
							
						 
						
							2010-09-03 00:25:02 +00:00  
				
					
						
							
							
								 
						
							
								50e0105f1c 
								
							 
						 
						
							
							
								
								Add warning for functions/blocks that have attribute 'noreturn' but return a non-void result. (<rdar://problem/7562925>)  
							
							... 
							
							
							
							llvm-svn: 111492 
							
						 
						
							2010-08-19 00:52:13 +00:00  
				
					
						
							
							
								 
						
							
								a396e617b5 
								
							 
						 
						
							
							
								
								Always add CallExpr as block-level expression. Inline-based interprocedural  
							
							... 
							
							
							
							analysis needs this.
llvm-svn: 97014 
							
						 
						
							2010-02-24 02:19:28 +00:00  
				
					
						
							
							
								 
						
							
								60dbeebee8 
								
							 
						 
						
							
							
								
								Improve unreachable code warnings with respect to dead member and  
							
							... 
							
							
							
							dead array references.
llvm-svn: 94115 
							
						 
						
							2010-01-21 23:15:53 +00:00  
				
					
						
							
							
								 
						
							
								d12e495f17 
								
							 
						 
						
							
							
								
								Improve unreachable code warnings for with respect to c-style casts.  
							
							... 
							
							
							
							llvm-svn: 94094 
							
						 
						
							2010-01-21 19:51:34 +00:00  
				
					
						
							
							
								 
						
							
								c18c403670 
								
							 
						 
						
							
							
								
								Improve unreachable code warnings for with respect to ? :.  
							
							... 
							
							
							
							llvm-svn: 94093 
							
						 
						
							2010-01-21 19:44:04 +00:00  
				
					
						
							
							
								 
						
							
								14781509fd 
								
							 
						 
						
							
							
								
								Improve unreachable code warnings for with respect to compound  
							
							... 
							
							
							
							assignments.
llvm-svn: 94086 
							
						 
						
							2010-01-21 17:31:41 +00:00  
				
					
						
							
							
								 
						
							
								cc3a853df7 
								
							 
						 
						
							
							
								
								Improve unreachable code warnings with respect to dead binary and  
							
							... 
							
							
							
							unary operators.
llvm-svn: 94084 
							
						 
						
							2010-01-21 17:21:23 +00:00  
				
					
						
							
							
								 
						
							
								ea409449aa 
								
							 
						 
						
							
							
								
								Generalize handling for unreachable code warnings to all binary operators.  
							
							... 
							
							
							
							llvm-svn: 93584 
							
						 
						
							2010-01-15 23:33:51 +00:00  
				
					
						
							
							
								 
						
							
								d4d6fb3374 
								
							 
						 
						
							
							
								
								Refine location reporting for unreachable code warnings for comma expressions.  
							
							... 
							
							
							
							llvm-svn: 93574 
							
						 
						
							2010-01-15 23:17:13 +00:00  
				
					
						
							
							
								 
						
							
								dec5a39ea5 
								
							 
						 
						
							
							
								
								Add testcase for recent checkin.  
							
							... 
							
							
							
							llvm-svn: 93503 
							
						 
						
							2010-01-15 03:15:36 +00:00