94477cb084 
								
							 
						 
						
							
							
								
								Attempt to fix this test on i686 targets.  
							
							... 
							
							
							
							llvm-svn: 174953 
							
						 
						
							2013-02-12 08:59:01 +00:00  
				
					
						
							
							
								 
						
							
								a096b14d1d 
								
							 
						 
						
							
							
								
								The meat of this patch is in BuildCXXMemberCalLExpr where we make it use  
							
							... 
							
							
							
							MarkMemberReferenced instead of marking functions referenced directly. An audit
of callers to MarkFunctionReferenced and DiagnoseUseOfDecl also caused a few
other changes:
 * don't mark functions odr-used when considering them for an initialization
   sequence. Do mark them referenced though.
 * the function nominated by the cleanup attribute should be diagnosed.
 * operator new/delete should be diagnosed when building a 'new' expression.
llvm-svn: 174951 
							
						 
						
							2013-02-12 08:08:54 +00:00  
				
					
						
							
							
								 
						
							
								971bfa11c6 
								
							 
						 
						
							
							
								
								Unify the codepaths for emitting deprecation warnings.  The test changes are just to account for us emitting notes more consistently.  
							
							... 
							
							
							
							llvm-svn: 161528 
							
						 
						
							2012-08-08 21:52:41 +00:00  
				
					
						
							
							
								 
						
							
								f021889036 
								
							 
						 
						
							
							
								
								-Wdeprecated warning to include reference (as a note)  
							
							... 
							
							
							
							to the declaration in this patch. // rdar://10893232
llvm-svn: 157537 
							
						 
						
							2012-05-27 16:59:48 +00:00  
				
					
						
							
							
								 
						
							
								25d09c2209 
								
							 
						 
						
							
							
								
								pinpoint name/location of deprecated/unavailable enumerator  
							
							... 
							
							
							
							whose enum has been made deprecated/unavailable in the warning.
// rdar://10201690
llvm-svn: 145264 
							
						 
						
							2011-11-28 19:45:58 +00:00  
				
					
						
							
							
								 
						
							
								d71061298c 
								
							 
						 
						
							
							
								
								c - Enumerators may inherit the deprecated/unavailable  
							
							... 
							
							
							
							attributes from the enumeration type.
// rdar://10201690
llvm-svn: 140800 
							
						 
						
							2011-09-29 18:40:01 +00:00  
				
					
						
							
							
								 
						
							
								811a0f5578 
								
							 
						 
						
							
							
								
								Parse attributes on enumerators and instantiate attributes on enum decls.  
							
							... 
							
							
							
							llvm-svn: 117182 
							
						 
						
							2010-10-22 23:36:17 +00:00  
				
					
						
							
							
								 
						
							
								4fa0d5f2bd 
								
							 
						 
						
							
							
								
								Diagnose deprecated/unavailable functions selected by overload resolution.  
							
							... 
							
							
							
							Fixes rdar://problem/4232969, or at least the clang parts of it.
llvm-svn: 103191 
							
						 
						
							2010-05-06 18:15:07 +00:00  
				
					
						
							
							
								 
						
							
								8fbe78f6fc 
								
							 
						 
						
							
							
								
								Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.  
							
							... 
							
							
							
							- This is designed to make it obvious that %clang_cc1 is a "test variable"
   which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it
   can be useful to redefine what gets run as 'clang -cc1' (for example, to set
   a default target).
llvm-svn: 91446 
							
						 
						
							2009-12-15 20:14:24 +00:00  
				
					
						
							
							
								 
						
							
								002f2b3eec 
								
							 
						 
						
							
							
								
								CXXMethodDecl::isVirtual needs to check the canonical declaration. Fixes PR4878.  
							
							... 
							
							
							
							llvm-svn: 81715 
							
						 
						
							2009-09-13 21:01:57 +00:00  
				
					
						
							
							
								 
						
							
								99056f23b7 
								
							 
						 
						
							
							
								
								Fix PR4878 for real.  
							
							... 
							
							
							
							llvm-svn: 81507 
							
						 
						
							2009-09-11 05:54:14 +00:00  
				
					
						
							
							
								 
						
							
								04e1e22fe7 
								
							 
						 
						
							
							
								
								Don't check use of a member function declaration used if the member function is virtual and the member reference expression doesn't explicitly qualify it. Fixes PR4878.  
							
							... 
							
							
							
							llvm-svn: 81460 
							
						 
						
							2009-09-10 20:48:14 +00:00  
				
					
						
							
							
								 
						
							
								5fd7dad784 
								
							 
						 
						
							
							
								
								getFunctionLevelDeclContext needs to get the previous DeclContext if EnterDeclaratorContext has been called. Fixes PR4694. (Doug, please review)  
							
							... 
							
							
							
							llvm-svn: 78480 
							
						 
						
							2009-08-08 17:48:49 +00:00  
				
					
						
							
							
								 
						
							
								21776b75ce 
								
							 
						 
						
							
							
								
								Make sure to diagnose use of declarations in the case where we create an implicit CXXThisExpr.  
							
							... 
							
							
							
							llvm-svn: 78474 
							
						 
						
							2009-08-08 16:55:18 +00:00