54613ab4d4 
								
							 
						 
						
							
							
								
								[libc++] Remove various C++03 feature test macros  
							
							... 
							
							
							
							Summary:
Libc++ still uses per-feature configuration macros when configuring for C++11. However libc++ requires a feature-complete C++11 compiler so there is no reason to check individual features. This patch starts the process of removing the feature specific macros and replacing their usage with `_LIBCPP_CXX03_LANG`.
This patch removes the __config macros:
* _LIBCPP_HAS_NO_TRAILING_RETURN
* _LIBCPP_HAS_NO_TEMPLATE_ALIASES
* _LIBCPP_HAS_NO_ADVANCED_SFINAE
* _LIBCPP_HAS_NO_DEFAULT_FUNCTION_TEMPLATE_ARGS
* _LIBCPP_HAS_NO_STATIC_ASSERT
As a drive I also changed our C++03 static_assert to use _Static_assert if available.
I plan to commit this without review if nobody voices an objection.
Reviewers: mclow.lists
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D24895 
llvm-svn: 282347 
							
						 
						
							2016-09-25 03:34:28 +00:00  
				
					
						
							
							
								 
						
							
								2a10c960fa 
								
							 
						 
						
							
							
								
								Support allocators with explicit conversion constructors. Fixes bug  #29000  
							
							... 
							
							
							
							llvm-svn: 278904 
							
						 
						
							2016-08-17 05:58:40 +00:00  
				
					
						
							
							
								 
						
							
								93b8e51ebb 
								
							 
						 
						
							
							
								
								Make dtor_noexcept.pass.cpp tests more portable. Patch from STL@microsoft.com  
							
							... 
							
							
							
							llvm-svn: 276595 
							
						 
						
							2016-07-25 00:50:32 +00:00  
				
					
						
							
							
								 
						
							
								249b03effb 
								
							 
						 
						
							
							
								
								Make move_assign_noexcept.pass.cpp tests more portable. Patch from STL@microsoft.com  
							
							... 
							
							
							
							llvm-svn: 276591 
							
						 
						
							2016-07-25 00:18:12 +00:00  
				
					
						
							
							
								 
						
							
								f950b85122 
								
							 
						 
						
							
							
								
								Make move_noexcept.pass.cpp tests more portable. Patch from STL@microsoft.com  
							
							... 
							
							
							
							llvm-svn: 276581 
							
						 
						
							2016-07-24 23:19:51 +00:00  
				
					
						
							
							
								 
						
							
								497677449b 
								
							 
						 
						
							
							
								
								Implement LWG#2436: 'Comparators for associative containers should always be CopyConstructible'  
							
							... 
							
							
							
							llvm-svn: 274235 
							
						 
						
							2016-06-30 15:11:53 +00:00  
				
					
						
							
							
								 
						
							
								a9fb19d3a5 
								
							 
						 
						
							
							
								
								Make default_noexcept.pass.cpp container tests more portable. Patch from STL@microsoft.com  
							
							... 
							
							
							
							llvm-svn: 273823 
							
						 
						
							2016-06-26 20:21:22 +00:00  
				
					
						
							
							
								 
						
							
								f2f2a6395f 
								
							 
						 
						
							
							
								
								Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER.  
							
							... 
							
							
							
							This is a huge cleanup that helps make the libc++ test suite more portable.
Patch from STL@microsoft.com . Thanks STL!
llvm-svn: 272716 
							
						 
						
							2016-06-14 21:31:42 +00:00  
				
					
						
							
							
								 
						
							
								54238fd381 
								
							 
						 
						
							
							
								
								Make the comparison objects that we pass in for various tests look more like actual comparison objects. No functional change.  
							
							... 
							
							
							
							llvm-svn: 272288 
							
						 
						
							2016-06-09 18:34:38 +00:00  
				
					
						
							
							
								 
						
							
								d04c685168 
								
							 
						 
						
							
							
								
								Remove trailing whitespace in test suite. Approved by Marshall Clow.  
							
							... 
							
							
							
							llvm-svn: 271435 
							
						 
						
							2016-06-01 21:35:39 +00:00  
				
					
						
							
							
								 
						
							
								0d62791983 
								
							 
						 
						
							
							
								
								Add braces, move braces, and rename variables to avoid shadowing. Patch from STL@microsoft.com  
							
							... 
							
							
							
							llvm-svn: 267844 
							
						 
						
							2016-04-28 02:45:11 +00:00  
				
					
						
							
							
								 
						
							
								949389c395 
								
							 
						 
						
							
							
								
								We had two identical files named 'MoveOnly.h' in the test suite. Move one to support/, remove the other, and update all the tests that included them. No functionality change.  
							
							... 
							
							
							
							llvm-svn: 227370 
							
						 
						
							2015-01-28 21:22:53 +00:00  
				
					
						
							
							
								 
						
							
								d5f461ca03 
								
							 
						 
						
							
							
								
								Fix PR22366. When move-constructing an associative container and explicitly passing an allocator that compares different, we were not calling the destructor of the elements in the moved-from container.  
							
							... 
							
							
							
							llvm-svn: 227359 
							
						 
						
							2015-01-28 19:54:25 +00:00  
				
					
						
							
							
								 
						
							
								5a83710e37 
								
							 
						 
						
							
							
								
								Move test into test/std subdirectory.  
							
							... 
							
							
							
							llvm-svn: 224658 
							
						 
						
							2014-12-20 01:40:03 +00:00