39c193b1f0 
								
							 
						 
						
							
							
								
								Make __wrap_iter work with GCC again  
							
							... 
							
							
							
							Summary:
This bug was originally fixed in http://reviews.llvm.org/D7201 . 
However it was broken again by the fix to https://llvm.org/bugs/show_bug.cgi?id=22605 .
This patch re-fixes __wrap_iter with GCC by providing a forward declaration of <vector> before the friend declaration in __wrap_iter.
This patch avoids the issues in PR22605 by putting canonical forward declarations in <iosfwd> and including <iosfwd> in <vector>.
<iosfwd> was chosen as the canonical forward declaration headers for the following reasons:
1. `<iosfwd>` is small with almost no dependancies.
2. It already forward declares `std::allocator`
3. It is already included in `<iterator>` which we need to fix the GCC bug.
This patch fixes the test "gcc_workaround.pass.cpp"
Reviewers: mclow.lists, EricWF
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D16345 
llvm-svn: 261382 
							
						 
						
							2016-02-20 00:19:45 +00:00  
				
					
						
							
							
								 
						
							
								07d9d76a2d 
								
							 
						 
						
							
							
								
								Revert: Revert r227804: Use fseek/ftell instead of fseeko/ftello when Newlib is the libc  
							
							... 
							
							
							
							EricWF has updated the compilers on his buildbots. Hopefully they won't crash now.
llvm-svn: 227971 
							
						 
						
							2015-02-03 15:34:17 +00:00  
				
					
						
							
							
								 
						
							
								ef66a6f40c 
								
							 
						 
						
							
							
								
								Revert r227804: Use fseek/ftell instead of fseeko/ftello when Newlib is the libc  
							
							... 
							
							
							
							This change is causing a driver crash on libcxx-libcxxabi-x86_64-linux-ubuntu-msan
llvm-svn: 227806 
							
						 
						
							2015-02-02 15:56:43 +00:00  
				
					
						
							
							
								 
						
							
								8468bbb993 
								
							 
						 
						
							
							
								
								Use fseek/ftell instead of fseeko/ftello when Newlib is the libc  
							
							... 
							
							
							
							http://reviews.llvm.org/D6626 
llvm-svn: 227804 
						
							2015-02-02 15:04:29 +00:00  
				
					
						
							
							
								 
						
							
								f0544c2086 
								
							 
						 
						
							
							
								
								Nico Rieck:  this patch series fixes visibility issues on Windows as explained in < http://lists.cs.uiuc.edu/pipermail/cfe-dev/2013-August/031214.html >.  
							
							... 
							
							
							
							llvm-svn: 188192 
							
						 
						
							2013-08-12 18:38:34 +00:00  
				
					
						
							
							
								 
						
							
								6e41256f68 
								
							 
						 
						
							
							
								
								No functionality change at this time.  I've split _LIBCPP_VISIBLE up into two flags: _LIBCPP_TYPE_VIS and _LIBCPP_FUNC_VIS.  This is in preparation for taking advantage of clang's new __type_visibility__ attribute.  
							
							... 
							
							
							
							llvm-svn: 176593 
							
						 
						
							2013-03-06 23:30:19 +00:00  
				
					
						
							
							
								 
						
							
								aeb85680fb 
								
							 
						 
						
							
							
								
								Dimitry Andric:  many visibility fixes.  Howard:  Much appreciated.  Can you send me a patch to CREDITS.TXT?  
							
							... 
							
							
							
							llvm-svn: 163862 
							
						 
						
							2012-09-14 00:39:16 +00:00  
				
					
						
							
							
								 
						
							
								073458b1ab 
								
							 
						 
						
							
							
								
								Windows support by Ruben Van Boxem.  
							
							... 
							
							
							
							llvm-svn: 142235 
							
						 
						
							2011-10-17 20:05:10 +00:00  
				
					
						
							
							
								 
						
							
								fb7f07e3bd 
								
							 
						 
						
							
							
								
								http://llvm.org/bugs/show_bug.cgi?id=9854 .  Also created an emulated hexfloat literal for use in some of the tests. <sigh>  And cleaned up some harmless but irritating warnings in the tests.  
							
							... 
							
							
							
							llvm-svn: 131318 
							
						 
						
							2011-05-13 21:52:40 +00:00  
				
					
						
							
							
								 
						
							
								b5b2a1e19a 
								
							 
						 
						
							
							
								
								Two minor fixes:  1.  Put integral_constant conversion to integral in even without constexpr support.  2.  Add ios_base to <iosfwd>.  The latter is being tracked by LWG 2026.  
							
							... 
							
							
							
							llvm-svn: 123080 
							
						 
						
							2011-01-08 20:00:48 +00:00  
				
					
						
							
							
								 
						
							
								412dbebe1b 
								
							 
						 
						
							
							
								
								license change  
							
							... 
							
							
							
							llvm-svn: 119395 
							
						 
						
							2010-11-16 22:09:02 +00:00  
				
					
						
							
							
								 
						
							
								4c88c9803f 
								
							 
						 
						
							
							
								
								Getting started on a visibility-decoration sweep.  
							
							... 
							
							
							
							llvm-svn: 114440 
							
						 
						
							2010-09-21 16:04:28 +00:00  
				
					
						
							
							
								 
						
							
								f9cca3b7d0 
								
							 
						 
						
							
							
								
								I am experimenting with putting visibility-default attributes on all struct/classes in libc++.  This checkin decorates only basic_string and vector as an experiment, and for review by those in this audience that might know more about visibilty than I do.  If I get no negative feedback on this procedure I will begin to decorate the entire library in this way.  
							
							... 
							
							
							
							llvm-svn: 113590 
							
						 
						
							2010-09-10 16:42:26 +00:00  
				
					
						
							
							
								 
						
							
								b3371f6f49 
								
							 
						 
						
							
							
								
								Fixing whitespace problems  
							
							... 
							
							
							
							llvm-svn: 111750 
							
						 
						
							2010-08-22 00:02:43 +00:00  
				
					
						
							
							
								 
						
							
								128ba7191d 
								
							 
						 
						
							
							
								
								patch by Jeffrey Yasskin for porting to Ubuntu Hardy.  Everything was accepted except there were some bug fixes needed in <locale> for the __nolocale_* series.  For the apple branch I ended up using templates instead of the var_args solution because it seemed both safer and more efficient.  
							
							... 
							
							
							
							llvm-svn: 104516 
							
						 
						
							2010-05-24 17:49:41 +00:00  
				
					
						
							
							
								 
						
							
								5b08a8a432 
								
							 
						 
						
							
							
								
								Wiped out some non-ascii characters that snuck into the copyright.  
							
							... 
							
							
							
							llvm-svn: 103516 
							
						 
						
							2010-05-11 21:36:01 +00:00  
				
					
						
							
							
								 
						
							
								3e519524c1 
								
							 
						 
						
							
							
								
								libcxx initial import  
							
							... 
							
							
							
							llvm-svn: 103490 
							
						 
						
							2010-05-11 19:42:16 +00:00