Chandler Carruth
							
						 
						
							 
							
							
							
							
								
							
							
								e70b005a6d 
								
							 
						 
						
							
							
								
								July was a bit quiet to... except for ARC. ;]  
							
							 
							
							... 
							
							
							
							llvm-svn: 145242 
							
						 
						
							2011-11-28 11:27:33 +00:00  
						
					 
				
					
						
							
							
								 
								Chandler Carruth
							
						 
						
							 
							
							
							
							
								
							
							
								955ba6c076 
								
							 
						 
						
							
							
								
								June was a quiet month... I can't imagine why... ;]  
							
							 
							
							... 
							
							
							
							llvm-svn: 145241 
							
						 
						
							2011-11-28 10:57:14 +00:00  
						
					 
				
					
						
							
							
								 
								Chandler Carruth
							
						 
						
							 
							
							
							
							
								
							
							
								a393202377 
								
							 
						 
						
							
							
								
								Notes through another month... a *really* busy month, but mostly bug  
							
							 
							
							... 
							
							
							
							fixing.
llvm-svn: 145237 
							
						 
						
							2011-11-28 09:43:30 +00:00  
						
					 
				
					
						
							
							
								 
								Chandler Carruth
							
						 
						
							 
							
							
							
							
								
							
							
								7c8e5ff578 
								
							 
						 
						
							
							
								
								Add the first month's commit notes.  
							
							 
							
							... 
							
							
							
							llvm-svn: 145236 
							
						 
						
							2011-11-28 08:41:06 +00:00  
						
					 
				
					
						
							
							
								 
								Chandler Carruth
							
						 
						
							 
							
							
							
							
								
							
							
								629c3552bb 
								
							 
						 
						
							
							
								
								Begin sketching out the Clang release notes. The plan is to link to  
							
							 
							
							... 
							
							
							
							these more detailed notes from the primary LLVM release notes for Clang.
This gives us a nice place to flesh out in plenty of detail the major
changes that have happened in Clang land since 2.9.
I've outlined a very rough structure based on the LLVM release notes
structure and what seems like useful divisions in the Clang landscape
(e.g., language-specific stuff is relevant to a narrower audience).
I'll be first converting my brain-dump-ish notes from the commit logs,
and then cleaning here. Suggestions on structure welcome. Typo
corrections, spelling fixes (oh how I'll need them), all welcome; just
commit away.
llvm-svn: 145233 
							
						 
						
							2011-11-28 07:16:19 +00:00  
						
					 
				
					
						
							
							
								 
								David Blaikie
							
						 
						
							 
							
							
							
							
								
							
							
								4f1f9e6b2e 
								
							 
						 
						
							
							
								
								Fix typo (becuase->because), PR11427  
							
							 
							
							... 
							
							
							
							llvm-svn: 145117 
							
						 
						
							2011-11-24 00:37:54 +00:00  
						
					 
				
					
						
							
							
								 
								Richard Smith
							
						 
						
							 
							
							
							
							
								
							
							
								f13b855809 
								
							 
						 
						
							
							
								
								Add stub section to the user manual for C++ language features, and document  
							
							 
							
							... 
							
							
							
							-ftemplate-depth= and -fconstexpr-depth= in it.
llvm-svn: 145049 
							
						 
						
							2011-11-21 20:54:59 +00:00  
						
					 
				
					
						
							
							
								 
								NAKAMURA Takumi
							
						 
						
							 
							
							
							
							
								
							
							
								74793710c1 
								
							 
						 
						
							
							
								
								docs/UsersManual.html: Remove obsolete mingw issue.  
							
							 
							
							... 
							
							
							
							llvm-svn: 144897 
							
						 
						
							2011-11-17 07:54:13 +00:00  
						
					 
				
					
						
							
							
								 
								Ted Kremenek
							
						 
						
							 
							
							
							
							
								
							
							
								1fcdaa9c05 
								
							 
						 
						
							
							
								
								ARC: make assignment to 'self' within class methods illegal.  Fixes <rdar://problem/10416568>.  
							
							 
							
							... 
							
							
							
							llvm-svn: 144572 
							
						 
						
							2011-11-14 21:59:25 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								f8b02cabca 
								
							 
						 
						
							
							
								
								Fix grammaro  
							
							 
							
							... 
							
							
							
							llvm-svn: 143633 
							
						 
						
							2011-11-03 18:33:01 +00:00  
						
					 
				
					
						
							
							
								 
								Tanya Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								fa7d9360f0 
								
							 
						 
						
							
							
								
								Do not create sub_dirs. This breaks the CSS links for the website and produces really long URLS.  
							
							 
							
							... 
							
							
							
							llvm-svn: 143487 
							
						 
						
							2011-11-01 20:09:03 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								3c469769a2 
								
							 
						 
						
							
							
								
								Add __has_feature(cxx_defaulted_functions) for querying "defaulted  
							
							 
							
							... 
							
							
							
							functions", from Michel Morin!
llvm-svn: 143411 
							
						 
						
							2011-11-01 01:19:34 +00:00  
						
					 
				
					
						
							
							
								 
								David Blaikie
							
						 
						
							 
							
							
							
							
								
							
							
								8317245f9c 
								
							 
						 
						
							
							
								
								Update documentation to use "C++11" instead of "C++0x"  
							
							 
							
							... 
							
							
							
							llvm-svn: 142339 
							
						 
						
							2011-10-18 05:49:30 +00:00  
						
					 
				
					
						
							
							
								 
								Bill Wendling
							
						 
						
							 
							
							
							
							
								
							
							
								1c78ba0140 
								
							 
						 
						
							
							
								
								Enable CREATE_SUBDIRS for a performance win, because there are a lot of files being generated.  
							
							 
							
							... 
							
							
							
							llvm-svn: 142113 
							
						 
						
							2011-10-16 06:43:18 +00:00  
						
					 
				
					
						
							
							
								 
								Peter Collingbourne
							
						 
						
							 
							
							
							
							
								
							
							
								a8e267b398 
								
							 
						 
						
							
							
								
								Internals manual: eliminate mention of System library  
							
							 
							
							... 
							
							
							
							llvm-svn: 142074 
							
						 
						
							2011-10-15 16:59:24 +00:00  
						
					 
				
					
						
							
							
								 
								Peter Collingbourne
							
						 
						
							 
							
							
							
							
								
							
							
								60188eb8bf 
								
							 
						 
						
							
							
								
								Add c_alignas and cxx_alignas features  
							
							 
							
							... 
							
							
							
							llvm-svn: 142020 
							
						 
						
							2011-10-14 23:44:46 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								a273f58c74 
								
							 
						 
						
							
							
								
								Fix grammaro  
							
							 
							
							... 
							
							
							
							llvm-svn: 141927 
							
						 
						
							2011-10-14 00:54:15 +00:00  
						
					 
				
					
						
							
							
								 
								Ted Kremenek
							
						 
						
							 
							
							
							
							
								
							
							
								a35d67dfd9 
								
							 
						 
						
							
							
								
								Implement built-in macro '__has_warning', which allows one to query if a warning flag is valid.  Fixes <rdar://problem/10263428>.  
							
							 
							
							... 
							
							
							
							llvm-svn: 141802 
							
						 
						
							2011-10-12 19:46:30 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								e7a8e3b612 
								
							 
						 
						
							
							
								
								Introduce BalancedDelimiterTracker, to better track open/close  
							
							 
							
							... 
							
							
							
							delimiter pairs and detect when we exceed the implementation limit for
nesting depth, from Aaron Ballman!
llvm-svn: 141782 
							
						 
						
							2011-10-12 16:37:45 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								0f41eee2a0 
								
							 
						 
						
							
							
								
								Driver: Add support for a new -nostdlibinc option.  
							
							 
							
							... 
							
							
							
							- This disables the system include directories, but not the compiler builtin
   directories. Useful for projects that want to use things like the intrinsic
   headers, but are otherwise freestanding.
 - I'm willing to reconsider the option naming, I also considered providing an
   explicit -builtinc (which would match -nobuiltininc), but this is more
   consistent with existing options.
llvm-svn: 141692 
							
						 
						
							2011-10-11 18:20:16 +00:00  
						
					 
				
					
						
							
							
								 
								Sebastian Redl
							
						 
						
							 
							
							
							
							
								
							
							
								6ce53ae752 
								
							 
						 
						
							
							
								
								Now that we support move generation, mention this in the language extension and C++ status pages. Also update the C++ status for default functions, which are complete now that we can generate move functions, and destructor exception specifications, which I did a while ago.  
							
							 
							
							... 
							
							
							
							llvm-svn: 141558 
							
						 
						
							2011-10-10 18:10:00 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								920844c36e 
								
							 
						 
						
							
							
								
								Revert my --working-directory option, which wasn't well thought through.  
							
							 
							
							... 
							
							
							
							llvm-svn: 140889 
							
						 
						
							2011-09-30 21:33:09 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								3984269260 
								
							 
						 
						
							
							
								
								Add a section detailing the steps required to add an expression or  
							
							 
							
							... 
							
							
							
							statement to Clang.
llvm-svn: 140888 
							
						 
						
							2011-09-30 21:32:37 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								10d398f894 
								
							 
						 
						
							
							
								
								Driver: Add a --working-directory option which can be used to cause the compiler  
							
							 
							
							... 
							
							
							
							to operate "as if" in a certain working directory.
 - For now, we just implement this by changing the actual working directory, but
   eventually we would want to handle this transparently. This is useful to
   avoid an extra exec() pair in some situations, and will be something we would
   want to support for more flexibility in using the Clang libraries.
llvm-svn: 140409 
							
						 
						
							2011-09-23 20:33:41 +00:00  
						
					 
				
					
						
							
							
								 
								Eli Friedman
							
						 
						
							 
							
							
							
							
								
							
							
								6b9c41ea68 
								
							 
						 
						
							
							
								
								Add list initialization for complex numbers in C.  Essentially, this allows "_Complex float x = {1.0f, 2.0f};".  See changes to docs/LanguageExtensions.html for a longer description.  
							
							 
							
							... 
							
							
							
							<rdar://problem/9397672>.
llvm-svn: 140090 
							
						 
						
							2011-09-19 23:17:44 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								dc28ba12e1 
								
							 
						 
						
							
							
								
								Document __has_feature(objc_instancetype).  
							
							 
							
							... 
							
							
							
							llvm-svn: 139299 
							
						 
						
							2011-09-08 17:19:31 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								8b7d403684 
								
							 
						 
						
							
							
								
								Allow C++0x enumerations with a fixed underlying type in  
							
							 
							
							... 
							
							
							
							Objective-C. The @encode'ing of such an enumeration type is the same
as its underlying type. <rdar://problem/5276348>.
llvm-svn: 139297 
							
						 
						
							2011-09-08 17:18:35 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								bab8a96f2f 
								
							 
						 
						
							
							
								
								Implement the Objective-C 'instancetype' type, which is an alias of  
							
							 
							
							... 
							
							
							
							'id' that can be used (only!) via a contextual keyword as the result
type of an Objective-C message send. 'instancetype' then gives the
method a related result type, which we have already been inferring for
a variety of methods (new, alloc, init, self, retain). Addresses
<rdar://problem/9267640>.
llvm-svn: 139275 
							
						 
						
							2011-09-08 01:46:34 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								cd267f7e0d 
								
							 
						 
						
							
							
								
								Update mingw-w64 part of the user manual, from Ruben Van Boxem!  
							
							 
							
							... 
							
							
							
							llvm-svn: 138788 
							
						 
						
							2011-08-30 00:40:12 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								26858b7e10 
								
							 
						 
						
							
							
								
								Add and document __has_feature values for the remaining C++0x  
							
							 
							
							... 
							
							
							
							features, so clients can check for the availability of these features
even before we get around to implementing them.
llvm-svn: 138741 
							
						 
						
							2011-08-29 17:28:38 +00:00  
						
					 
				
					
						
							
							
								 
								Ted Kremenek
							
						 
						
							 
							
							
							
							
								
							
							
								66bfc1db14 
								
							 
						 
						
							
							
								
								Add documentation on -Weverything.  
							
							 
							
							... 
							
							
							
							llvm-svn: 137911 
							
						 
						
							2011-08-18 01:17:05 +00:00  
						
					 
				
					
						
							
							
								 
								NAKAMURA Takumi
							
						 
						
							 
							
							
							
							
								
							
							
								5ae5353894 
								
							 
						 
						
							
							
								
								docs/doxygen.css: Import .memitem, .memproto and .memdoc from llvm/doxygen.  
							
							 
							
							... 
							
							
							
							llvm-svn: 137435 
							
						 
						
							2011-08-12 06:24:04 +00:00  
						
					 
				
					
						
							
							
								 
								Caitlin Sadowski
							
						 
						
							 
							
							
							
							
								
							
							
								4b1e8399c2 
								
							 
						 
						
							
							
								
								Thread Safety: Added basic argument parsing for all new attributes.  
							
							 
							
							... 
							
							
							
							This patch special cases the parser for thread safety attributes so that all
attribute arguments are put in the argument list (instead of a special
parameter) since arguments may not otherwise resolve correctly without two-token
lookahead.
This patch also adds checks to make sure that attribute arguments are
lockable objects.
llvm-svn: 137130 
							
						 
						
							2011-08-09 17:59:31 +00:00  
						
					 
				
					
						
							
							
								 
								Alexis Hunt
							
						 
						
							 
							
							
							
							
								
							
							
								7d1492a99d 
								
							 
						 
						
							
							
								
								Add a __has_feature macro for generalized initializers, turned off  
							
							 
							
							... 
							
							
							
							because we don't support them yet.
llvm-svn: 137027 
							
						 
						
							2011-08-07 00:34:32 +00:00  
						
					 
				
					
						
							
							
								 
								Caitlin Sadowski
							
						 
						
							 
							
							
							
							
								
							
							
								63fa667c68 
								
							 
						 
						
							
							
								
								Added basic parsing for all remaining attributes, thread safety  
							
							 
							
							... 
							
							
							
							analysis. This includes checking that the attributes are applied in the
correct contexts and with the correct number of arguments.
llvm-svn: 136383 
							
						 
						
							2011-07-28 20:12:35 +00:00  
						
					 
				
					
						
							
							
								 
								Caitlin Sadowski
							
						 
						
							 
							
							
							
							
								
							
							
								13d4444f96 
								
							 
						 
						
							
							
								
								Thread safety: Fix typo in documentation  
							
							 
							
							... 
							
							
							
							llvm-svn: 136370 
							
						 
						
							2011-07-28 18:38:36 +00:00  
						
					 
				
					
						
							
							
								 
								Caitlin Sadowski
							
						 
						
							 
							
							
							
							
								
							
							
								aac4d21ba7 
								
							 
						 
						
							
							
								
								Added parsing for guarded_var, pt_guarded_var, lockable,  
							
							 
							
							... 
							
							
							
							scoped_lockable, and no_thread_safety_analysis attributes, all for thread safety analysis
llvm-svn: 136364 
							
						 
						
							2011-07-28 17:21:07 +00:00  
						
					 
				
					
						
							
							
								 
								John McCall
							
						 
						
							 
							
							
							
							
								
							
							
								cf1667022f 
								
							 
						 
						
							
							
								
								Document the existing objc_precise_lifetime attribute.  
							
							 
							
							... 
							
							
							
							Introduce and document a new objc_returns_inner_pointer
attribute, and consume it by performing a retain+autorelease
on message receivers when they're not immediately loaded from
an object with precise lifetime.
llvm-svn: 135764 
							
						 
						
							2011-07-22 08:53:00 +00:00  
						
					 
				
					
						
							
							
								 
								Alexis Hunt
							
						 
						
							 
							
							
							
							
								
							
							
								106b4924e2 
								
							 
						 
						
							
							
								
								Thanks to Chandler for reminding me to update the documentation for the  
							
							 
							
							... 
							
							
							
							__underlying_type feature.
llvm-svn: 135402 
							
						 
						
							2011-07-18 17:22:33 +00:00  
						
					 
				
					
						
							
							
								 
								John McCall
							
						 
						
							 
							
							
							
							
								
							
							
								7c3ed3d0c5 
								
							 
						 
						
							
							
								
								Document the behavior of property modifiers in ARC.  
							
							 
							
							... 
							
							
							
							rdar://problem/9768338
llvm-svn: 135104 
							
						 
						
							2011-07-13 23:15:32 +00:00  
						
					 
				
					
						
							
							
								 
								David Chisnall
							
						 
						
							 
							
							
							
							
								
							
							
								c2800aab7b 
								
							 
						 
						
							
							
								
								Fix another typo (int -> id for captured_obj).  
							
							 
							
							... 
							
							
							
							llvm-svn: 134998 
							
						 
						
							2011-07-12 20:34:06 +00:00  
						
					 
				
					
						
							
							
								 
								David Chisnall
							
						 
						
							 
							
							
							
							
								
							
							
								561471d2f3 
								
							 
						 
						
							
							
								
								Fix example: variable is initialized to 10 and then has 11 stored in it, but in the expanded version is initialized to 11.  
							
							 
							
							... 
							
							
							
							llvm-svn: 134610 
							
						 
						
							2011-07-07 09:49:59 +00:00  
						
					 
				
					
						
							
							
								 
								John McCall
							
						 
						
							 
							
							
							
							
								
							
							
								c3df93aa0d 
								
							 
						 
						
							
							
								
								Move and elaborate the section on objc_arc_weak_unavailable.  
							
							 
							
							... 
							
							
							
							llvm-svn: 134567 
							
						 
						
							2011-07-07 00:03:42 +00:00  
						
					 
				
					
						
							
							
								 
								Fariborz Jahanian
							
						 
						
							 
							
							
							
							
								
							
							
								1025318ca9 
								
							 
						 
						
							
							
								
								Update document for objc_arc_weak_unavailable attribute  
							
							 
							
							... 
							
							
							
							on class declarations. Documentation for // rdar://9693477
llvm-svn: 134558 
							
						 
						
							2011-07-06 22:56:44 +00:00  
						
					 
				
					
						
							
							
								 
								Fariborz Jahanian
							
						 
						
							 
							
							
							
							
								
							
							
								e634a92dac 
								
							 
						 
						
							
							
								
								Update document on use of ns_returns_not_retained  
							
							 
							
							... 
							
							
							
							attribute on property. Document for // rdar://9636091.
llvm-svn: 134556 
							
						 
						
							2011-07-06 22:47:46 +00:00  
						
					 
				
					
						
							
							
								 
								Fariborz Jahanian
							
						 
						
							 
							
							
							
							
								
							
							
								251e793a3f 
								
							 
						 
						
							
							
								
								Update documentation for // rdar://9619861  
							
							 
							
							... 
							
							
							
							llvm-svn: 134544 
							
						 
						
							2011-07-06 21:58:44 +00:00  
						
					 
				
					
						
							
							
								 
								Jonathan D. Turner
							
						 
						
							 
							
							
							
							
								
							
							
								3b1da3604f 
								
							 
						 
						
							
							
								
								Update docs to remove reference to OverloadedFunctionDecl and replace it with DeclContext::lookup_result.  
							
							 
							
							... 
							
							
							
							llvm-svn: 134514 
							
						 
						
							2011-07-06 18:12:36 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								052172bc14 
								
							 
						 
						
							
							
								
								fix typo  
							
							 
							
							... 
							
							
							
							llvm-svn: 134361 
							
						 
						
							2011-07-03 02:21:48 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								c2e40fa681 
								
							 
						 
						
							
							
								
								Remove reference to the Index library  
							
							 
							
							... 
							
							
							
							llvm-svn: 134238 
							
						 
						
							2011-07-01 16:35:47 +00:00  
						
					 
				
					
						
							
							
								 
								Benjamin Kramer
							
						 
						
							 
							
							
							
							
								
							
							
								0c14ce1dbf 
								
							 
						 
						
							
							
								
								Remove doxygen.cfg to prevent accidental commits, it is generated from doxygen.cfg.in.  
							
							 
							
							... 
							
							
							
							llvm-svn: 134072 
							
						 
						
							2011-06-29 16:22:39 +00:00  
						
					 
				
					
						
							
							
								 
								Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								fbaa5b1077 
								
							 
						 
						
							
							
								
								Revert accidental commit.  
							
							 
							
							... 
							
							
							
							llvm-svn: 134052 
							
						 
						
							2011-06-29 01:23:25 +00:00  
						
					 
				
					
						
							
							
								 
								Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								eeb486dda5 
								
							 
						 
						
							
							
								
								SubtargetFeature.h has been moved to MC.  
							
							 
							
							... 
							
							
							
							llvm-svn: 134050 
							
						 
						
							2011-06-29 01:14:32 +00:00  
						
					 
				
					
						
							
							
								 
								Alexis Hunt
							
						 
						
							 
							
							
							
							
								
							
							
								b0d8199925 
								
							 
						 
						
							
							
								
								Add documentation about __has_feature(cxx_delegationg_constructors)  
							
							 
							
							... 
							
							
							
							llvm-svn: 133693 
							
						 
						
							2011-06-23 06:11:37 +00:00  
						
					 
				
					
						
							
							
								 
								Alexis Hunt
							
						 
						
							 
							
							
							
							
								
							
							
								efa0716ab7 
								
							 
						 
						
							
							
								
								Fix a minor copy-paste-o that broke the stylesheets  
							
							 
							
							... 
							
							
							
							llvm-svn: 133678 
							
						 
						
							2011-06-23 01:22:53 +00:00  
						
					 
				
					
						
							
							
								 
								Alexis Hunt
							
						 
						
							 
							
							
							
							
								
							
							
								aedbfe480f 
								
							 
						 
						
							
							
								
								Fix a bunch of HTML compliance problems with LanguageExtensions.html  
							
							 
							
							... 
							
							
							
							One weird thing is the addition of several <a name=""> tags where
previously there were id attributes on the <h3> tags. This is because
the id attribute must begin with a letter, not an underscore. The name
attribute is not so constrained, so links will continue to work.
llvm-svn: 133677 
							
						 
						
							2011-06-23 01:21:01 +00:00  
						
					 
				
					
						
							
							
								 
								Alexis Hunt
							
						 
						
							 
							
							
							
							
								
							
							
								c0a2ab6421 
								
							 
						 
						
							
							
								
								Revert "-fexceptions does not, in fact, enable C++ exceptions"  
							
							 
							
							... 
							
							
							
							In fact it does. For the driver anyway, and not cc1 which I'm supposed
to pretend doesn't exist.
llvm-svn: 133673 
							
						 
						
							2011-06-23 00:42:53 +00:00  
						
					 
				
					
						
							
							
								 
								Alexis Hunt
							
						 
						
							 
							
							
							
							
								
							
							
								6d756895a9 
								
							 
						 
						
							
							
								
								-fexceptions does not, in fact, enable C++ exceptions  
							
							 
							
							... 
							
							
							
							llvm-svn: 133666 
							
						 
						
							2011-06-22 23:49:12 +00:00  
						
					 
				
					
						
							
							
								 
								John McCall
							
						 
						
							 
							
							
							
							
								
							
							
								a994df5a02 
								
							 
						 
						
							
							
								
								More clarifications.  
							
							 
							
							... 
							
							
							
							llvm-svn: 133387 
							
						 
						
							2011-06-19 10:12:24 +00:00  
						
					 
				
					
						
							
							
								 
								John McCall
							
						 
						
							 
							
							
							
							
								
							
							
								fb414bc66d 
								
							 
						 
						
							
							
								
								Improve the intro to the runtime-functions section.  
							
							 
							
							... 
							
							
							
							llvm-svn: 133386 
							
						 
						
							2011-06-19 09:59:33 +00:00  
						
					 
				
					
						
							
							
								 
								John McCall
							
						 
						
							 
							
							
							
							
								
							
							
								092701c326 
								
							 
						 
						
							
							
								
								Describe the ARC runtime support calls.  
							
							 
							
							... 
							
							
							
							llvm-svn: 133385 
							
						 
						
							2011-06-19 09:36:02 +00:00  
						
					 
				
					
						
							
							
								 
								John McCall
							
						 
						
							 
							
							
							
							
								
							
							
								9cc574d538 
								
							 
						 
						
							
							
								
								Clarify the semantics of init methods, and point out a few places  
							
							 
							
							... 
							
							
							
							where mismatched semantics can cause undefined behavior.
llvm-svn: 133341 
							
						 
						
							2011-06-18 08:15:19 +00:00  
						
					 
				
					
						
							
							
								 
								John McCall
							
						 
						
							 
							
							
							
							
								
							
							
								f8d4799267 
								
							 
						 
						
							
							
								
								A couple of minor changes to the ARC spec, plus a new section  
							
							 
							
							... 
							
							
							
							specifying that retain/release/autorelease/retainCount are forbidden,
plus a section talking about the behavior of dealloc.
llvm-svn: 133340 
							
						 
						
							2011-06-18 07:31:30 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								d7357a9b8e 
								
							 
						 
						
							
							
								
								Objective-C++ ARC: eliminate the utterly unjustified loophole that  
							
							 
							
							... 
							
							
							
							silently dropped ownership qualifiers that were being applied to
ownership-qualified, substituted type that was *not* a substituted
template type parameter. We now provide a diagnostic in such cases,
and recover by dropping the added qualifiers.
Document this behavior in the ARC specification.
llvm-svn: 133309 
							
						 
						
							2011-06-17 23:16:24 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								4fdf57b0b2 
								
							 
						 
						
							
							
								
								Fix a grammaro  
							
							 
							
							... 
							
							
							
							llvm-svn: 133304 
							
						 
						
							2011-06-17 22:19:27 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								e46db90c9a 
								
							 
						 
						
							
							
								
								Objective-ARC++: infer template type arguments of  
							
							 
							
							... 
							
							
							
							ownership-unqualified retainable object type as __strong. This allows
us to write, e.g.,
  std::vector<id>
and we'll infer that the vector's element types have __strong
ownership semantics, which is far nicer than requiring:
  std::vector<__strong id>
Note that we allow one to override the ownership qualifier of a
substituted template type parameter, e.g., given
  template<typename T>
  struct X {
    typedef __weak T type;
  };
X<id> is treated the same as X<__strong id>. At instantiation type,
the __weak in "__weak T" overrides the (inferred or specified)
__strong on the template argument type, so that we can still provide
metaprogramming transformations.
This is part of <rdar://problem/9595486>.
llvm-svn: 133303 
							
						 
						
							2011-06-17 22:11:49 +00:00  
						
					 
				
					
						
							
							
								 
								John McCall
							
						 
						
							 
							
							
							
							
								
							
							
								31168b077c 
								
							 
						 
						
							
							
								
								Automatic Reference Counting.  
							
							 
							
							... 
							
							
							
							Language-design credit goes to a lot of people, but I particularly want
to single out Blaine Garst and Patrick Beard for their contributions.
Compiler implementation credit goes to Argyrios, Doug, Fariborz, and myself,
in no particular order.
llvm-svn: 133103 
							
						 
						
							2011-06-15 23:02:42 +00:00  
						
					 
				
					
						
							
							
								 
								John McCall
							
						 
						
							 
							
							
							
							
								
							
							
								556fad31d1 
								
							 
						 
						
							
							
								
								The specification document for the new ObjC Automatic Reference Counting  
							
							 
							
							... 
							
							
							
							feature.
Implementation to follow. :)
llvm-svn: 133090 
							
						 
						
							2011-06-15 21:21:53 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								dcb562dea4 
								
							 
						 
						
							
							
								
								remove the index page, we have dox now!  
							
							 
							
							... 
							
							
							
							llvm-svn: 133087 
							
						 
						
							2011-06-15 21:13:48 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e67977214f 
								
							 
						 
						
							
							
								
								mention new VLA behavior in gnu* vs c* mode dox.  
							
							 
							
							... 
							
							
							
							llvm-svn: 133030 
							
						 
						
							2011-06-15 00:41:40 +00:00  
						
					 
				
					
						
							
							
								 
								Blaine Garst
							
						 
						
							 
							
							
							
							
								
							
							
								f562bf239c 
								
							 
						 
						
							
							
								
								fix example as per rdar://problem/9461587  
							
							 
							
							... 
							
							
							
							llvm-svn: 133012 
							
						 
						
							2011-06-14 21:41:00 +00:00  
						
					 
				
					
						
							
							
								 
								Eli Friedman
							
						 
						
							 
							
							
							
							
								
							
							
								97f3d1a5ee 
								
							 
						 
						
							
							
								
								Update extensions section of the docs to account for wacky gcc stuff we did end up implementing.  
							
							 
							
							... 
							
							
							
							llvm-svn: 132947 
							
						 
						
							2011-06-13 23:12:01 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								33823727c8 
								
							 
						 
						
							
							
								
								Implement Objective-C Related Result Type semantics.  
							
							 
							
							... 
							
							
							
							Related result types apply Cocoa conventions to the type of message
sends and property accesses to Objective-C methods that are known to
always return objects whose type is the same as the type of the
receiving class (or a subclass thereof), such as +alloc and
-init. This tightens up static type safety for Objective-C, so that we
now diagnose mistakes like this:
t.m:4:10: warning: incompatible pointer types initializing 'NSSet *'
with an
      expression of type 'NSArray *' [-Wincompatible-pointer-types]
  NSSet *array = [[NSArray alloc] init];
         ^       ~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:72:1:
note: 
      instance method 'init' is assumed to return an instance of its
      receiver
      type ('NSArray *')
- (id)init;
^
It also means that we get decent type inference when writing code in
Objective-C++0x:
  auto array = [[NSMutableArray alloc] initWithObjects:@"one",  @"two",nil];
  //    ^ now infers NSMutableArray* rather than id
llvm-svn: 132868 
							
						 
						
							2011-06-11 01:09:30 +00:00  
						
					 
				
					
						
							
							
								 
								Ted Kremenek
							
						 
						
							 
							
							
							
							
								
							
							
								8c66ae7ddc 
								
							 
						 
						
							
							
								
								Remove derelict documentation.  
							
							 
							
							... 
							
							
							
							llvm-svn: 132407 
							
						 
						
							2011-06-01 17:45:02 +00:00  
						
					 
				
					
						
							
							
								 
								Argyrios Kyrtzidis
							
						 
						
							 
							
							
							
							
								
							
							
								0e37afa15e 
								
							 
						 
						
							
							
								
								A StringRef-ication of the DiagnosticIDs API and internals.  
							
							 
							
							... 
							
							
							
							Patch by Matthieu Monrocq with tweaks by me to avoid StringRefs in the static
diagnostic data structures, which resulted in a huge global-var-init function.
Depends on llvm commit r132046.
llvm-svn: 132047 
							
						 
						
							2011-05-25 05:05:01 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								80af31397a 
								
							 
						 
						
							
							
								
								Audit and finish the implementation of C++0x nullptr, fixing two  
							
							 
							
							... 
							
							
							
							minor issues along the way:
  - Non-type template parameters of type 'std::nullptr_t' were not
  permitted.
  - We didn't properly introduce built-in operators for nullptr ==,
  !=, <, <=, >=, or > as candidate functions .
To my knowledge, there's only one (minor but annoying) part of nullptr
that hasn't been implemented: catching a thrown 'nullptr' as a pointer
or pointer-to-member, per C++0x [except.handle]p4.
llvm-svn: 131813 
							
						 
						
							2011-05-21 23:15:46 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								643c922e66 
								
							 
						 
						
							
							
								
								Introduce the -fdiagnostics-format=xxx option to control how Clang  
							
							 
							
							... 
							
							
							
							prints the file, line, and column of a diagnostic. We currently
support Clang's normal format, MSVC, and Vi formats.
Note that we no longer change the diagnostic format based on
-fms-extensions.
Patch by Andrew Fish!
llvm-svn: 131794 
							
						 
						
							2011-05-21 17:07:29 +00:00  
						
					 
				
					
						
							
							
								 
								Peter Collingbourne
							
						 
						
							 
							
							
							
							
								
							
							
								d5d410faa8 
								
							 
						 
						
							
							
								
								Introduce __has_extension macro  
							
							 
							
							... 
							
							
							
							__has_extension is a function-like macro which takes the same set
of feature identifiers as __has_feature.  It evaluates to 1 if the
feature is supported by Clang in the current language (either as a
language extension or a standard language feature) or 0 if not.
At the same time, add support for the C1X feature identifiers
c_generic_selections (renamed from generic_selections) and
c_static_assert, and document them.
Patch by myself and Jean-Daniel Dupas.
llvm-svn: 131308 
							
						 
						
							2011-05-13 20:54:45 +00:00  
						
					 
				
					
						
							
							
								 
								Peter Collingbourne
							
						 
						
							 
							
							
							
							
								
							
							
								d12d712c84 
								
							 
						 
						
							
							
								
								Delete doxygen.cfg, and use cwd-relative paths in doxygen.cfg.in.  
							
							 
							
							... 
							
							
							
							Now "make doxygen" works for clang.
llvm-svn: 131282 
							
						 
						
							2011-05-13 03:29:06 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								347d626cf7 
								
							 
						 
						
							
							
								
								Implement CWG1170, which makes access-control errors into template  
							
							 
							
							... 
							
							
							
							argument deduction failures. Only implemented in C++0x, since this is
a significant change in behavior from C++98/03.
llvm-svn: 131209 
							
						 
						
							2011-05-11 23:45:11 +00:00  
						
					 
				
					
						
							
							
								 
								Richard Smith
							
						 
						
							 
							
							
							
							
								
							
							
								3f1b5d077b 
								
							 
						 
						
							
							
								
								Implement support for C++0x alias templates.  
							
							 
							
							... 
							
							
							
							llvm-svn: 130953 
							
						 
						
							2011-05-05 21:57:07 +00:00  
						
					 
				
					
						
							
							
								 
								Chad Rosier
							
						 
						
							 
							
							
							
							
								
							
							
								b9a8525bab 
								
							 
						 
						
							
							
								
								Documentation for -Oz; Updated synopsis and item.  
							
							 
							
							... 
							
							
							
							llvm-svn: 130570 
							
						 
						
							2011-04-30 02:04:10 +00:00  
						
					 
				
					
						
							
							
								 
								Chad Rosier
							
						 
						
							 
							
							
							
							
								
							
							
								bc8d7c27d9 
								
							 
						 
						
							
							
								
								Add documentation for -Oz flag.  
							
							 
							
							... 
							
							
							
							llvm-svn: 130569 
							
						 
						
							2011-04-30 01:40:58 +00:00  
						
					 
				
					
						
							
							
								 
								Richard Smith
							
						 
						
							 
							
							
							
							
								
							
							
								9bc6eedab4 
								
							 
						 
						
							
							
								
								Add __has_feature(cxx_range_for) check for C++11 range-based for loop.  
							
							 
							
							... 
							
							
							
							llvm-svn: 129573 
							
						 
						
							2011-04-15 15:14:40 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								57540c5be0 
								
							 
						 
						
							
							
								
								fix a bunch of comment typos found by codespell.  Patch by  
							
							 
							
							... 
							
							
							
							Luis Felipe Strano Moraes!
llvm-svn: 129559 
							
						 
						
							2011-04-15 05:22:18 +00:00  
						
					 
				
					
						
							
							
								 
								Peter Collingbourne
							
						 
						
							 
							
							
							
							
								
							
							
								9114759641 
								
							 
						 
						
							
							
								
								C1X: implement generic selections  
							
							 
							
							... 
							
							
							
							As an extension, generic selection support has been added for all
supported languages.  The syntax is the same as for C1X.
llvm-svn: 129554 
							
						 
						
							2011-04-15 00:35:48 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								9cb59fa834 
								
							 
						 
						
							
							
								
								add a __sync_swap builtin to fill out the rest of the __sync builtins.  
							
							 
							
							... 
							
							
							
							Patch by Dave Zarzycki!
llvm-svn: 129189 
							
						 
						
							2011-04-09 03:57:26 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e094ee0a34 
								
							 
						 
						
							
							
								
								typo fix + expand  
							
							 
							
							... 
							
							
							
							llvm-svn: 129167 
							
						 
						
							2011-04-08 22:58:43 +00:00  
						
					 
				
					
						
							
							
								 
								Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								298de937e7 
								
							 
						 
						
							
							
								
								Minor format fix.  
							
							 
							
							... 
							
							
							
							llvm-svn: 129164 
							
						 
						
							2011-04-08 22:34:21 +00:00  
						
					 
				
					
						
							
							
								 
								Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								fbbacc9241 
								
							 
						 
						
							
							
								
								Document -ftrap-function= option  
							
							 
							
							... 
							
							
							
							llvm-svn: 129162 
							
						 
						
							2011-04-08 22:18:01 +00:00  
						
					 
				
					
						
							
							
								 
								NAKAMURA Takumi
							
						 
						
							 
							
							
							
							
								
							
							
								584f2de0a3 
								
							 
						 
						
							
							
								
								docs/UsersManual.html: Fix some inconsistent HTML elements.  
							
							 
							
							... 
							
							
							
							llvm-svn: 128876 
							
						 
						
							2011-04-05 04:31:31 +00:00  
						
					 
				
					
						
							
							
								 
								NAKAMURA Takumi
							
						 
						
							 
							
							
							
							
								
							
							
								a33296392e 
								
							 
						 
						
							
							
								
								docs/UsersManual.html: """ize in a paragraph. A few unpaired quotations might confuse HTML-aware text edtors.  
							
							 
							
							... 
							
							
							
							llvm-svn: 128871 
							
						 
						
							2011-04-05 00:57:02 +00:00  
						
					 
				
					
						
							
							
								 
								NAKAMURA Takumi
							
						 
						
							 
							
							
							
							
								
							
							
								ce60187a89 
								
							 
						 
						
							
							
								
								docs/UsersManual.html: Add cygming notes.  
							
							 
							
							... 
							
							
							
							llvm-svn: 128819 
							
						 
						
							2011-04-04 15:02:41 +00:00  
						
					 
				
					
						
							
							
								 
								Anders Carlsson
							
						 
						
							 
							
							
							
							
								
							
							
								69f1f9391b 
								
							 
						 
						
							
							
								
								we can now claim to fully support the override control feature in C++0x.  
							
							 
							
							... 
							
							
							
							llvm-svn: 128281 
							
						 
						
							2011-03-25 15:04:23 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								04fe64f899 
								
							 
						 
						
							
							
								
								and now there are 3!  
							
							 
							
							... 
							
							
							
							llvm-svn: 128001 
							
						 
						
							2011-03-21 16:25:11 +00:00  
						
					 
				
					
						
							
							
								 
								Peter Collingbourne
							
						 
						
							 
							
							
							
							
								
							
							
								e4c02400ad 
								
							 
						 
						
							
							
								
								Code modification hints have been known as fix-it hints for almost  
							
							 
							
							... 
							
							
							
							a year now.  Update the internals manual.
llvm-svn: 127983 
							
						 
						
							2011-03-21 01:45:18 +00:00  
						
					 
				
					
						
							
							
								 
								Ted Kremenek
							
						 
						
							 
							
							
							
							
								
							
							
								d15609a582 
								
							 
						 
						
							
							
								
								Remove '-Xclang' and '-mllvm' entries from Clang man page.  The later is only available in debug builds and the former is not supposed to be used by end-users.  
							
							 
							
							... 
							
							
							
							llvm-svn: 127914 
							
						 
						
							2011-03-18 22:11:40 +00:00  
						
					 
				
					
						
							
							
								 
								John McCall
							
						 
						
							 
							
							
							
							
								
							
							
								6107fc9e68 
								
							 
						 
						
							
							
								
								Improve the documentation for some of the analyzer attributes I added  
							
							 
							
							... 
							
							
							
							a while back.
llvm-svn: 127866 
							
						 
						
							2011-03-18 03:51:49 +00:00  
						
					 
				
					
						
							
							
								 
								Sebastian Redl
							
						 
						
							 
							
							
							
							
								
							
							
								c17003c66b 
								
							 
						 
						
							
							
								
								Create __has_feature(cxx_noexcept) and mark it as working.  
							
							 
							
							... 
							
							
							
							Find out that our C++0x status has only one field for noexcept expression and specification together, and that it was accidentally already marked as fully implemented.
This completes noexcept specification work.
llvm-svn: 127701 
							
						 
						
							2011-03-15 21:17:12 +00:00  
						
					 
				
					
						
							
							
								 
								Peter Collingbourne
							
						 
						
							 
							
							
							
							
								
							
							
								2f1e36bfd0 
								
							 
						 
						
							
							
								
								Rename tok::eom to tok::eod.  
							
							 
							
							... 
							
							
							
							The previous name was inaccurate as this token in fact appears at
the end of every preprocessing directive, not just macro definitions.
No functionality change, except for a diagnostic tweak.
llvm-svn: 126631 
							
						 
						
							2011-02-28 02:37:51 +00:00  
						
					 
				
					
						
							
							
								 
								Richard Smith
							
						 
						
							 
							
							
							
							
								
							
							
								bb7dcf59a0 
								
							 
						 
						
							
							
								
								Update the www to indicate that auto is now implemented.  
							
							 
							
							... 
							
							
							
							llvm-svn: 126280 
							
						 
						
							2011-02-23 00:41:16 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c4ef61af9a 
								
							 
						 
						
							
							
								
								we now support __label__  
							
							 
							
							... 
							
							
							
							llvm-svn: 125826 
							
						 
						
							2011-02-18 04:12:08 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								18703d41f0 
								
							 
						 
						
							
							
								
								fix two broken links and some out of date writing, PR9174  
							
							 
							
							... 
							
							
							
							llvm-svn: 125484 
							
						 
						
							2011-02-14 06:42:50 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								7115aee109 
								
							 
						 
						
							
							
								
								Add a __has_feature check for default template arguments in function  
							
							 
							
							... 
							
							
							
							templates, a C++0x feature.
llvm-svn: 124973 
							
						 
						
							2011-02-05 20:35:30 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								7c60768590 
								
							 
						 
						
							
							
								
								Add __has_feature() for each of the type traits  
							
							 
							
							... 
							
							
							
							llvm-svn: 124820 
							
						 
						
							2011-02-03 21:57:35 +00:00  
						
					 
				
					
						
							
							
								 
								Jeffrey Yasskin
							
						 
						
							 
							
							
							
							
								
							
							
								f66a5283ed 
								
							 
						 
						
							
							
								
								Document how to add an attribute to clang.  This should be reviewed by someone  
							
							 
							
							... 
							
							
							
							who actually knows how it works.
llvm-svn: 124506 
							
						 
						
							2011-01-28 23:41:54 +00:00  
						
					 
				
					
						
							
							
								 
								Jeffrey Yasskin
							
						 
						
							 
							
							
							
							
								
							
							
								bbc4eea2c2 
								
							 
						 
						
							
							
								
								Revert r124217 because it didn't catch the actual error case it was trying to  
							
							 
							
							... 
							
							
							
							catch:
  lock_guard(my_mutex);
declares a variable instead of creating a temporary.
llvm-svn: 124398 
							
						 
						
							2011-01-27 19:17:54 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								56d5f0abaa 
								
							 
						 
						
							
							
								
								Add __has_feature(cxx_reference_qualified_functions); update tests and  
							
							 
							
							... 
							
							
							
							documentation.
llvm-svn: 124322 
							
						 
						
							2011-01-26 21:25:54 +00:00  
						
					 
				
					
						
							
							
								 
								Jeffrey Yasskin
							
						 
						
							 
							
							
							
							
								
							
							
								08a4f8f197 
								
							 
						 
						
							
							
								
								Add an attribute to forbid temporary instances of a type.  This allows class  
							
							 
							
							... 
							
							
							
							authors to write 
  class __attribute__((forbid_temporaries)) Name { ... };
when they want to force users to name all variables of the type. This protects
people from doing things like creating a scoped_lock that only lives for a
single statement instead of an entire scope.
The warning produced by this attribute can be disabled by
-Wno-forbid-temporaries.
llvm-svn: 124217 
							
						 
						
							2011-01-25 20:08:12 +00:00  
						
					 
				
					
						
							
							
								 
								John McCall
							
						 
						
							 
							
							
							
							
								
							
							
								46669c0996 
								
							 
						 
						
							
							
								
								Document the ns_returns_retained, ns_consumed, etc. attributes.  
							
							 
							
							... 
							
							
							
							llvm-svn: 124176 
							
						 
						
							2011-01-25 04:26:21 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								fa69024463 
								
							 
						 
						
							
							
								
								Eliminate the last reference to concepts, from Jean-Daniel Dupas  
							
							 
							
							... 
							
							
							
							llvm-svn: 124118 
							
						 
						
							2011-01-24 15:22:41 +00:00  
						
					 
				
					
						
							
							
								 
								Anders Carlsson
							
						 
						
							 
							
							
							
							
								
							
							
								3bbfb7f64b 
								
							 
						 
						
							
							
								
								Fix the __has_attribute example; we don't have an override attribute anymore.  
							
							 
							
							... 
							
							
							
							llvm-svn: 124106 
							
						 
						
							2011-01-24 03:54:51 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c2989b3718 
								
							 
						 
						
							
							
								
								fix some typos, patch by Jonathan Wakely!  
							
							 
							
							... 
							
							
							
							llvm-svn: 124105 
							
						 
						
							2011-01-24 03:47:59 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7d29d4503a 
								
							 
						 
						
							
							
								
								fix a broken example, PR9005, patch by Jonathan Wakely!  
							
							 
							
							... 
							
							
							
							llvm-svn: 124104 
							
						 
						
							2011-01-24 03:47:34 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d8d7543419 
								
							 
						 
						
							
							
								
								remove some crazy leftover thing.  
							
							 
							
							... 
							
							
							
							llvm-svn: 124098 
							
						 
						
							2011-01-24 02:53:58 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								312ab72dbd 
								
							 
						 
						
							
							
								
								Eradicate any mention of C++0x concepts.  
							
							 
							
							... 
							
							
							
							llvm-svn: 123860 
							
						 
						
							2011-01-19 23:15:20 +00:00  
						
					 
				
					
						
							
							
								 
								Bob Wilson
							
						 
						
							 
							
							
							
							
								
							
							
								ce3ee6539e 
								
							 
						 
						
							
							
								
								NEON vector support for ARM is in pretty good shape now.  Update the docs.  
							
							 
							
							... 
							
							
							
							llvm-svn: 123183 
							
						 
						
							2011-01-10 17:55:14 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								e350923a9b 
								
							 
						 
						
							
							
								
								Fix documentation typo, from nobled.  
							
							 
							
							... 
							
							
							
							llvm-svn: 121768 
							
						 
						
							2010-12-14 16:21:49 +00:00  
						
					 
				
					
						
							
							
								 
								Eric Christopher
							
						 
						
							 
							
							
							
							
								
							
							
								b0fd4599de 
								
							 
						 
						
							
							
								
								And more gzip goodness for clang.  
							
							 
							
							... 
							
							
							
							llvm-svn: 121453 
							
						 
						
							2010-12-10 01:59:28 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								19e0fd0b2b 
								
							 
						 
						
							
							
								
								fix typo  
							
							 
							
							... 
							
							
							
							llvm-svn: 120254 
							
						 
						
							2010-11-28 18:19:13 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2a6ee91619 
								
							 
						 
						
							
							
								
								move AdvanceToTokenCharacter and getLocForEndOfToken from  
							
							 
							
							... 
							
							
							
							Preprocessor to Lexer where they make more sense.
llvm-svn: 119474 
							
						 
						
							2010-11-17 07:05:50 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e56c786f11 
								
							 
						 
						
							
							
								
								make the example a bit better, encouraging people to use "suggestions of what to use" in the message :)  
							
							 
							
							... 
							
							
							
							llvm-svn: 118612 
							
						 
						
							2010-11-09 19:43:35 +00:00  
						
					 
				
					
						
							
							
								 
								John McCall
							
						 
						
							 
							
							
							
							
								
							
							
								f71b45367f 
								
							 
						 
						
							
							
								
								Document Clang's support for attributes on individual enumerators and  
							
							 
							
							... 
							
							
							
							tweak the documentation for deprecation-with-message.  Provide __has_feature
tests for both.  rdar://problem/8605692
llvm-svn: 118435 
							
						 
						
							2010-11-08 19:48:17 +00:00  
						
					 
				
					
						
							
							
								 
								Blaine Garst
							
						 
						
							 
							
							
							
							
								
							
							
								cfdb75891d 
								
							 
						 
						
							
							
								
								expand discussion of __block C++ on-stack objects  
							
							 
							
							... 
							
							
							
							llvm-svn: 117618 
							
						 
						
							2010-10-28 23:30:10 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4935b45d74 
								
							 
						 
						
							
							
								
								make it really clear that vla != flexible arrays  
							
							 
							
							... 
							
							
							
							llvm-svn: 117522 
							
						 
						
							2010-10-28 02:20:32 +00:00  
						
					 
				
					
						
							
							
								 
								Blaine Garst
							
						 
						
							 
							
							
							
							
								
							
							
								03b99365e3 
								
							 
						 
						
							
							
								
								small tweaks to reflect statements of what really ever shipped.  ABI is, and has been, accurate for what we ship.  
							
							 
							
							... 
							
							
							
							llvm-svn: 117504 
							
						 
						
							2010-10-27 22:59:01 +00:00  
						
					 
				
					
						
							
							
								 
								Blaine Garst
							
						 
						
							 
							
							
							
							
								
							
							
								2314079ef0 
								
							 
						 
						
							
							
								
								reconcile missing typos & delete obsolete pre-SnowLeopard section w.r.t. prior repository for this document  
							
							 
							
							... 
							
							
							
							llvm-svn: 117492 
							
						 
						
							2010-10-27 21:22:46 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								d2893dd0b9 
								
							 
						 
						
							
							
								
								Document how source ranges work  
							
							 
							
							... 
							
							
							
							llvm-svn: 117450 
							
						 
						
							2010-10-27 16:02:28 +00:00  
						
					 
				
					
						
							
							
								 
								Michael J. Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								4992ca4b17 
								
							 
						 
						
							
							
								
								Reorganize predefined macros for all Windows targets.  
							
							 
							
							... 
							
							
							
							This adds an option to set the _MSC_VER macro without
recompiling. This is very useful when testing compatibility
with the Windows SDK and c++stdlib headers.
-fmsc-version=<version> (defaults to VS2003 (1300))
llvm-svn: 116999 
							
						 
						
							2010-10-21 05:21:48 +00:00  
						
					 
				
					
						
							
							
								 
								Anders Carlsson
							
						 
						
							 
							
							
							
							
								
							
							
								274a70ed7f 
								
							 
						 
						
							
							
								
								Add a __has_attribute macro that works much like __has_feature and __has_builtin.  
							
							 
							
							... 
							
							
							
							llvm-svn: 116906 
							
						 
						
							2010-10-20 02:31:43 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a09e8efd1f 
								
							 
						 
						
							
							
								
								Per discussion with Sanjiv, remove the PIC16 target from mainline.  When/if  
							
							 
							
							... 
							
							
							
							it comes back, it will be largely a rewrite, so keeping the old codebase
in tree isn't helping anyone.
llvm-svn: 116191 
							
						 
						
							2010-10-11 05:44:49 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								0bf3140424 
								
							 
						 
						
							
							
								
								Implement C++0x scoped enumerations, from Daniel Wallin! (and tweaked a  
							
							 
							
							... 
							
							
							
							bit by me). 
llvm-svn: 116122 
							
						 
						
							2010-10-08 23:50:27 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								63b0a1e9fb 
								
							 
						 
						
							
							
								
								Fix a typo in the Clang man page, from Alexander Best.  
							
							 
							
							... 
							
							
							
							llvm-svn: 116102 
							
						 
						
							2010-10-08 21:03:07 +00:00  
						
					 
				
					
						
							
							
								 
								Fariborz Jahanian
							
						 
						
							 
							
							
							
							
								
							
							
								c74073cd20 
								
							 
						 
						
							
							
								
								Patch for adding message to unavailable attribute.  
							
							 
							
							... 
							
							
							
							And its documentation.
Finishes off // rdar: // 6734520.
llvm-svn: 115862 
							
						 
						
							2010-10-06 23:12:32 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								7fb25418ed 
								
							 
						 
						
							
							
								
								Implement the C++0x "trailing return type" feature, e.g.,  
							
							 
							
							... 
							
							
							
							auto f(int) -> int
from Daniel Wallin!
(With a few minor bug fixes from me).
llvm-svn: 115322 
							
						 
						
							2010-10-01 18:44:50 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								3aa045491f 
								
							 
						 
						
							
							
								
								Update Clang man page to say a little bit more about C++  
							
							 
							
							... 
							
							
							
							llvm-svn: 114735 
							
						 
						
							2010-09-24 17:26:14 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								c1dd0e97f3 
								
							 
						 
						
							
							
								
								Driver/Objective-C: Retool Objective-C ABI flags to be more usable, and actually  
							
							 
							
							... 
							
							
							
							document behavior. Will wonders never cease.
llvm-svn: 114334 
							
						 
						
							2010-09-20 18:19:55 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								549decf4cc 
								
							 
						 
						
							
							
								
								Update users manual comments on X86 and ARM support.  
							
							 
							
							... 
							
							
							
							llvm-svn: 114311 
							
						 
						
							2010-09-19 19:26:59 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								092b6fb187 
								
							 
						 
						
							
							
								
								Driver: Add a -stdlib= argument which can be used to select the C++ standard  
							
							 
							
							... 
							
							
							
							library to use.
 - This is currently useful for testing libc++; you can now use 'clang++
   -stdlib=libc++ t.cpp' to compile using it if installed.
 - In the future could also be used to select other standard library choices if
   alternatives become available (for example, to use an alternate C library).
llvm-svn: 113891 
							
						 
						
							2010-09-14 23:12:40 +00:00  
						
					 
				
					
						
							
							
								 
								Argyrios Kyrtzidis
							
						 
						
							 
							
							
							
							
								
							
							
								2716b9ae54 
								
							 
						 
						
							
							
								
								Update 'docs/PCHInternals.html' about how subexpressions are stored.  
							
							 
							
							... 
							
							
							
							llvm-svn: 113760 
							
						 
						
							2010-09-13 17:48:02 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								c6876fe121 
								
							 
						 
						
							
							
								
								Document our extension to constant-fold __builtin_strlen and strlen  
							
							 
							
							... 
							
							
							
							llvm-svn: 113699 
							
						 
						
							2010-09-11 18:08:34 +00:00  
						
					 
				
					
						
							
							
								 
								John McCall
							
						 
						
							 
							
							
							
							
								
							
							
								e37a619715 
								
							 
						 
						
							
							
								
								Update the internals manual for the removal of Action, as well as other  
							
							 
							
							... 
							
							
							
							changes that are much older.
llvm-svn: 112951 
							
						 
						
							2010-09-03 05:07:55 +00:00  
						
					 
				
					
						
							
							
								 
								Dawn Perchik
							
						 
						
							 
							
							
							
							
								
							
							
								68bb1b441f 
								
							 
						 
						
							
							
								
								Add support for Borland extensions via option -fborland-extensions  
							
							 
							
							... 
							
							
							
							(original patch r112791 was reverted due to a bug).
llvm-svn: 112915 
							
						 
						
							2010-09-02 23:59:25 +00:00  
						
					 
				
					
						
							
							
								 
								Dawn Perchik
							
						 
						
							 
							
							
							
							
								
							
							
								f0882f90f3 
								
							 
						 
						
							
							
								
								Reverting rev 112791 - apparently -fborland-extensions is on all the time?!  
							
							 
							
							... 
							
							
							
							llvm-svn: 112797 
							
						 
						
							2010-09-02 02:18:55 +00:00  
						
					 
				
					
						
							
							
								 
								Dawn Perchik
							
						 
						
							 
							
							
							
							
								
							
							
								1fcc18c7bc 
								
							 
						 
						
							
							
								
								Add support for Borland extensions via option -fborland-extensions  
							
							 
							
							... 
							
							
							
							llvm-svn: 112791 
							
						 
						
							2010-09-02 01:12:01 +00:00  
						
					 
				
					
						
							
							
								 
								Sebastian Redl
							
						 
						
							 
							
							
							
							
								
							
							
								a93bb5b807 
								
							 
						 
						
							
							
								
								Implement __has_feature(cxx_inline_namespaces)  
							
							 
							
							... 
							
							
							
							llvm-svn: 112671 
							
						 
						
							2010-08-31 23:28:47 +00:00  
						
					 
				
					
						
							
							
								 
								Ted Kremenek
							
						 
						
							 
							
							
							
							
								
							
							
								800ad06e8c 
								
							 
						 
						
							
							
								
								Document '__clang_analyzer__'.  
							
							 
							
							... 
							
							
							
							llvm-svn: 111935 
							
						 
						
							2010-08-24 18:12:35 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								34a462538e 
								
							 
						 
						
							
							
								
								Clarify documentation of escaping for backslash  
							
							 
							
							... 
							
							
							
							llvm-svn: 111806 
							
						 
						
							2010-08-23 14:03:03 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								12e2a06824 
								
							 
						 
						
							
							
								
								Eliminate some extraneous whitespace in the machine-parseable Fix-It output.  
							
							 
							
							... 
							
							
							
							llvm-svn: 111610 
							
						 
						
							2010-08-20 03:17:33 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								a03c296e79 
								
							 
						 
						
							
							
								
								Fix some typos in the documentation of -fdiagnostics-parseable-fixits. Typos by me, patch by Eelis van der Weegen  
							
							 
							
							... 
							
							
							
							llvm-svn: 111573 
							
						 
						
							2010-08-19 23:31:13 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								eec975ce5a 
								
							 
						 
						
							
							
								
								Add machine-parseable Fix-It output as part of diagnostics, under the  
							
							 
							
							... 
							
							
							
							flag -fdiagnostics-parseable-fixits, from Eelis van der Weegen!
llvm-svn: 111557 
							
						 
						
							2010-08-19 20:24:43 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								71323e66b6 
								
							 
						 
						
							
							
								
								Remove a gratuitous lie.  
							
							 
							
							... 
							
							
							
							llvm-svn: 111253 
							
						 
						
							2010-08-17 17:34:48 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								1b8842d981 
								
							 
						 
						
							
							
								
								Update UsersManual, we support '#pragma align' now.  
							
							 
							
							... 
							
							
							
							llvm-svn: 110040 
							
						 
						
							2010-08-02 15:36:37 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								137b27da2e 
								
							 
						 
						
							
							
								
								Document -f{no-}color-diagnostics  
							
							 
							
							... 
							
							
							
							llvm-svn: 107985 
							
						 
						
							2010-07-09 16:31:58 +00:00  
						
					 
				
					
						
							
							
								 
								Sebastian Redl
							
						 
						
							 
							
							
							
							
								
							
							
								595c51342c 
								
							 
						 
						
							
							
								
								Some preparatory work for chained PCH. No functionality change.  
							
							 
							
							... 
							
							
							
							llvm-svn: 107915 
							
						 
						
							2010-07-08 22:01:51 +00:00  
						
					 
				
					
						
							
							
								 
								Sebastian Redl
							
						 
						
							 
							
							
							
							
								
							
							
								bbace2a63d 
								
							 
						 
						
							
							
								
								Fix a few errors in the internals doc.  
							
							 
							
							... 
							
							
							
							llvm-svn: 107838 
							
						 
						
							2010-07-07 23:42:27 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								b7b04ae204 
								
							 
						 
						
							
							
								
								Remove redundant and incomplete bits from the users manual w.r.t. language conformance  
							
							 
							
							... 
							
							
							
							llvm-svn: 107326 
							
						 
						
							2010-06-30 22:04:24 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								283fe3d07a 
								
							 
						 
						
							
							
								
								build: Get CLANG_VERSION from Version.inc instead of depending on VER file directly.  
							
							 
							
							... 
							
							
							
							llvm-svn: 106864 
							
						 
						
							2010-06-25 17:33:49 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								e6c1daa8fd 
								
							 
						 
						
							
							
								
								Makefile: Switch Clang Makefiles to always include the top-level Clang Makefile.  
							
							 
							
							... 
							
							
							
							- This eliminates most dependencies on how Clang is installed relative to LLVM.
llvm-svn: 105637 
							
						 
						
							2010-06-08 20:34:18 +00:00  
						
					 
				
					
						
							
							
								 
								Jeffrey Yasskin
							
						 
						
							 
							
							
							
							
								
							
							
								caa710dfd2 
								
							 
						 
						
							
							
								
								PR7245: Make binding a reference to a temporary without a usable copy  
							
							 
							
							... 
							
							
							
							constructor into an extension warning into the error that C++98 requires.
llvm-svn: 105529 
							
						 
						
							2010-06-07 15:58:05 +00:00  
						
					 
				
					
						
							
							
								 
								Jeffrey Yasskin
							
						 
						
							 
							
							
							
							
								
							
							
								2f96e9f5c9 
								
							 
						 
						
							
							
								
								Add an extension to avoid an error when a global template has the same name as  
							
							 
							
							... 
							
							
							
							a member template, and you try to call the member template with an explicit
template argument.  See PR7247 
For example, this downgrades the error to a warning in:
template<typename T> struct set{};
struct Value {
    template<typename T>
    void set(T value) {
    }
};
void foo() {
    Value v;
    v.set<double>(3.2);  // Warning here.
}
llvm-svn: 105518 
							
						 
						
							2010-06-05 01:39:57 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f3d0436077 
								
							 
						 
						
							
							
								
								fix incorrect tag  
							
							 
							
							... 
							
							
							
							llvm-svn: 105189 
							
						 
						
							2010-05-30 23:42:51 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								406e3826e0 
								
							 
						 
						
							
							
								
								Update "users manual", PR2461 has been fixed.  
							
							 
							
							... 
							
							
							
							llvm-svn: 104997 
							
						 
						
							2010-05-28 19:43:31 +00:00  
						
					 
				
					
						
							
							
								 
								Nick Lewycky
							
						 
						
							 
							
							
							
							
								
							
							
								42f9ba3790 
								
							 
						 
						
							
							
								
								Fix typo.  
							
							 
							
							... 
							
							
							
							llvm-svn: 104898 
							
						 
						
							2010-05-27 23:40:55 +00:00  
						
					 
				
					
						
							
							
								 
								Nick Lewycky
							
						 
						
							 
							
							
							
							
								
							
							
								de2291a717 
								
							 
						 
						
							
							
								
								Grammar fix: s/it's/its/g in  
							
							 
							
							... 
							
							
							
							"it's spelling location and it's instantiation location"
llvm-svn: 104746 
							
						 
						
							2010-05-26 21:48:10 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b997626120 
								
							 
						 
						
							
							
								
								push categories forward a bit more: document them, add some  
							
							 
							
							... 
							
							
							
							major buckets to catch parser and sema issues, add inline asm
category, and make diag groups take precedence over the 
sweeping categories just added.
llvm-svn: 104561 
							
						 
						
							2010-05-24 21:35:18 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								95dff818e7 
								
							 
						 
						
							
							
								
								docs: Man page tweaks, to mention the integrated assembler and the  
							
							 
							
							... 
							
							
							
							-integrated-as and -no-integrated-as options.
llvm-svn: 104304 
							
						 
						
							2010-05-21 00:28:14 +00:00  
						
					 
				
					
						
							
							
								 
								mike-m
							
						 
						
							 
							
							
							
							
								
							
							
								9f08a6f1a8 
								
							 
						 
						
							
							
								
								Reverted r103214.  
							
							 
							
							... 
							
							
							
							llvm-svn: 103222 
							
						 
						
							2010-05-07 00:42:33 +00:00  
						
					 
				
					
						
							
							
								 
								mike-m
							
						 
						
							 
							
							
							
							
								
							
							
								9bb682b713 
								
							 
						 
						
							
							
								
								2nd part of: Overhauled llvm/clang docs builds.  
							
							 
							
							... 
							
							
							
							llvm-svn: 103214 
							
						 
						
							2010-05-06 23:46:27 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								336119f089 
								
							 
						 
						
							
							
								
								document -fdiagnostics-show-category  
							
							 
							
							... 
							
							
							
							llvm-svn: 103067 
							
						 
						
							2010-05-05 01:35:28 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								ef8c6e8ba7 
								
							 
						 
						
							
							
								
								fix a broken link, diagnostickinds.td was fissioned.  
							
							 
							
							... 
							
							
							
							llvm-svn: 102851 
							
						 
						
							2010-05-01 17:35:19 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								6602c25c0c 
								
							 
						 
						
							
							
								
								Add Clang version inspection macros. Fixes PR6681.  
							
							 
							
							... 
							
							
							
							llvm-svn: 102686 
							
						 
						
							2010-04-30 02:51:06 +00:00  
						
					 
				
					
						
							
							
								 
								Nick Lewycky
							
						 
						
							 
							
							
							
							
								
							
							
								e97d39b0f2 
								
							 
						 
						
							
							
								
								concepts is not a keyword here and fix copy-pasto.  
							
							 
							
							... 
							
							
							
							llvm-svn: 102172 
							
						 
						
							2010-04-23 06:09:40 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								ffed1cb339 
								
							 
						 
						
							
							
								
								Introduce a limit on the depth of the template instantiation backtrace  
							
							 
							
							... 
							
							
							
							we will print with each error that occurs during template
instantiation. When the backtrace is longer than that, we will print
N/2 of the innermost backtrace entries and N/2 of the outermost
backtrace entries, then skip the middle entries with a note such as:
  note: suppressed 2 template instantiation contexts; use
  -ftemplate-backtrace-limit=N to change the number of template
  instantiation entries shown
This should eliminate some excessively long backtraces that aren't
providing any value.
llvm-svn: 101882 
							
						 
						
							2010-04-20 07:18:24 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b35583df52 
								
							 
						 
						
							
							
								
								add a new driver-level -ferror-limit=412 option, which causes clang to stop  
							
							 
							
							... 
							
							
							
							emitting diagnostics after it has produced that many errors.  Give this a
default value of 20 which produces plenty of errors for people to fix before
recompiling but not so many that their entire console scrolls away when the
compiler gets confused.  The experience looks like this:
$ clang foo.c
<tons of crap>
foo.c:102:3: error: unknown type name 'somethingbad'
  somethingbad x;
  ^
fatal error: too many errors emitted, stopping now
36 warnings and 20 errors generated.
llvm-svn: 100689 
							
						 
						
							2010-04-07 20:49:23 +00:00  
						
					 
				
					
						
							
							
								 
								Blaine Garst
							
						 
						
							 
							
							
							
							
								
							
							
								55050630a9 
								
							 
						 
						
							
							
								
								improved wording around ABI  
							
							 
							
							... 
							
							
							
							llvm-svn: 100536 
							
						 
						
							2010-04-06 17:46:43 +00:00  
						
					 
				
					
						
							
							
								 
								Rafael Espindola
							
						 
						
							 
							
							
							
							
								
							
							
								fcc4739089 
								
							 
						 
						
							
							
								
								Document common clang compatibility issues.  
							
							 
							
							... 
							
							
							
							Patch by Zhanyong Wan.
llvm-svn: 98708 
							
						 
						
							2010-03-17 04:31:53 +00:00  
						
					 
				
					
						
							
							
								 
								Blaine Garst
							
						 
						
							 
							
							
							
							
								
							
							
								a41f71212a 
								
							 
						 
						
							
							
								
								fix copyright & typo  
							
							 
							
							... 
							
							
							
							llvm-svn: 98688 
							
						 
						
							2010-03-16 22:02:16 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								87c5e2f5d4 
								
							 
						 
						
							
							
								
								update link  
							
							 
							
							... 
							
							
							
							llvm-svn: 98682 
							
						 
						
							2010-03-16 21:43:03 +00:00  
						
					 
				
					
						
							
							
								 
								Blaine Garst
							
						 
						
							 
							
							
							
							
								
							
							
								ade4303e2b 
								
							 
						 
						
							
							
								
								at least give the Apple ABI a name that reflects Apple in prep for other ABI specs that might come along  
							
							 
							
							... 
							
							
							
							llvm-svn: 98678 
							
						 
						
							2010-03-16 21:22:41 +00:00  
						
					 
				
					
						
							
							
								 
								Blaine Garst
							
						 
						
							 
							
							
							
							
								
							
							
								1832cdb2d3 
								
							 
						 
						
							
							
								
								rev existing doc to account for recent ABI changes  
							
							 
							
							... 
							
							
							
							llvm-svn: 98676 
							
						 
						
							2010-03-16 21:21:07 +00:00  
						
					 
				
					
						
							
							
								 
								Erick Tryzelaar
							
						 
						
							 
							
							
							
							
								
							
							
								e62248a79c 
								
							 
						 
						
							
							
								
								Use LLVM's new DESTDIR-less PROJ_* variables.  
							
							 
							
							... 
							
							
							
							llvm-svn: 97744 
							
						 
						
							2010-03-04 20:57:19 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								bb26a92239 
								
							 
						 
						
							
							
								
								Update Clang C++ status, with a more project-centric focus.  
							
							 
							
							... 
							
							
							
							llvm-svn: 95455 
							
						 
						
							2010-02-05 23:51:14 +00:00  
						
					 
				
					
						
							
							
								 
								Owen Anderson
							
						 
						
							 
							
							
							
							
								
							
							
								029eb7d243 
								
							 
						 
						
							
							
								
								Clarify the documentation of ext_vector, and add a small example.  Hopefully  
							
							 
							
							... 
							
							
							
							this will alleviate some confusion about the existence of this feature.
Comments/improvements welcome.
llvm-svn: 94645 
							
						 
						
							2010-01-27 01:22:36 +00:00  
						
					 
				
					
						
							
							
								 
								John McCall
							
						 
						
							 
							
							
							
							
								
							
							
								98757030a4 
								
							 
						 
						
							
							
								
								Document the extensions I made to the diagnostics-formatting system yesterday.  
							
							 
							
							... 
							
							
							
							llvm-svn: 93439 
							
						 
						
							2010-01-14 19:12:17 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								b89b99f1f2 
								
							 
						 
						
							
							
								
								Fix pasto in __has_feature(cxx_lambdas) docs  
							
							 
							
							... 
							
							
							
							llvm-svn: 93320 
							
						 
						
							2010-01-13 16:27:49 +00:00  
						
					 
				
					
						
							
							
								 
								Alexis Hunt
							
						 
						
							 
							
							
							
							
								
							
							
								af4e28d897 
								
							 
						 
						
							
							
								
								Add a bunch more feature-checking macros for C++0x features. Some of these are  
							
							 
							
							... 
							
							
							
							disabled with the intent that users can start with them now and not have to change
a thing to have them work when we implement the features.
llvm-svn: 93312 
							
						 
						
							2010-01-13 08:31:49 +00:00  
						
					 
				
					
						
							
							
								 
								Nuno Lopes
							
						 
						
							 
							
							
							
							
								
							
							
								641fdce235 
								
							 
						 
						
							
							
								
								revert part of my last patch, and mark only the c++ global new operator as noalias. the rest will be infered by llvm optz  
							
							 
							
							... 
							
							
							
							llvm-svn: 91600 
							
						 
						
							2009-12-17 10:15:49 +00:00  
						
					 
				
					
						
							
							
								 
								Nuno Lopes
							
						 
						
							 
							
							
							
							
								
							
							
								ff22e5e8cb 
								
							 
						 
						
							
							
								
								document -fno-assume-sane-operator-new, per Chris request.  
							
							 
							
							... 
							
							
							
							please review for English grammar mistakes
llvm-svn: 91599 
							
						 
						
							2009-12-17 10:00:52 +00:00  
						
					 
				
					
						
							
							
								 
								Mike Stump
							
						 
						
							 
							
							
							
							
								
							
							
								64a03454c6 
								
							 
						 
						
							
							
								
								Refine a little.  WIP.  
							
							 
							
							... 
							
							
							
							llvm-svn: 91502 
							
						 
						
							2009-12-16 03:25:12 +00:00  
						
					 
				
					
						
							
							
								 
								Mike Stump
							
						 
						
							 
							
							
							
							
								
							
							
								11ba8d989c 
								
							 
						 
						
							
							
								
								Add some documentation for recent checkins.  WIP.  
							
							 
							
							... 
							
							
							
							llvm-svn: 91500 
							
						 
						
							2009-12-16 03:18:14 +00:00  
						
					 
				
					
						
							
							
								 
								Mike Stump
							
						 
						
							 
							
							
							
							
								
							
							
								68943780a6 
								
							 
						 
						
							
							
								
								Add documentation for recently added code.  WIP.  
							
							 
							
							... 
							
							
							
							llvm-svn: 91367 
							
						 
						
							2009-12-14 23:53:10 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								0910cf54ac 
								
							 
						 
						
							
							
								
								Update a few more docs references to clang-cc.  
							
							 
							
							... 
							
							
							
							llvm-svn: 91178 
							
						 
						
							2009-12-11 23:17:03 +00:00  
						
					 
				
					
						
							
							
								 
								Zhongxing Xu
							
						 
						
							 
							
							
							
							
								
							
							
								9ad590125c 
								
							 
						 
						
							
							
								
								brace completion.  
							
							 
							
							... 
							
							
							
							llvm-svn: 90833 
							
						 
						
							2009-12-08 05:05:26 +00:00  
						
					 
				
					
						
							
							
								 
								Ted Kremenek
							
						 
						
							 
							
							
							
							
								
							
							
								72de23e8ab 
								
							 
						 
						
							
							
								
								Fix typo.  
							
							 
							
							... 
							
							
							
							llvm-svn: 90390 
							
						 
						
							2009-12-03 02:06:43 +00:00  
						
					 
				
					
						
							
							
								 
								Ted Kremenek
							
						 
						
							 
							
							
							
							
								
							
							
								71d7463797 
								
							 
						 
						
							
							
								
								Add __has_feature(cxx_exceptions) and __has_feature(cxx_rtti) to table of contents.  
							
							 
							
							... 
							
							
							
							llvm-svn: 90389 
							
						 
						
							2009-12-03 02:05:57 +00:00  
						
					 
				
					
						
							
							
								 
								Ted Kremenek
							
						 
						
							 
							
							
							
							
								
							
							
								51540f9377 
								
							 
						 
						
							
							
								
								Add section on what language features __has_feature() supports for querying if they are enabled.  
							
							 
							
							... 
							
							
							
							llvm-svn: 90388 
							
						 
						
							2009-12-03 02:04:01 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								44ab140001 
								
							 
						 
						
							
							
								
								Fix a broken link  
							
							 
							
							... 
							
							
							
							llvm-svn: 86545 
							
						 
						
							2009-11-09 15:15:41 +00:00  
						
					 
				
					
						
							
							
								 
								John Thompson
							
						 
						
							 
							
							
							
							
								
							
							
								ac0b098d4d 
								
							 
						 
						
							
							
								
								Added __has_include and __has_include_next.  
							
							 
							
							... 
							
							
							
							llvm-svn: 85834 
							
						 
						
							2009-11-02 22:28:12 +00:00  
						
					 
				
					
						
							
							
								 
								Rafael Espindola
							
						 
						
							 
							
							
							
							
								
							
							
								bb85c2644a 
								
							 
						 
						
							
							
								
								Document -nobuiltininc  
							
							 
							
							... 
							
							
							
							llvm-svn: 85188 
							
						 
						
							2009-10-27 00:29:40 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								bf20638966 
								
							 
						 
						
							
							
								
								Implement __builtin_unreachable(), a GCC 4.5 extension.  
							
							 
							
							... 
							
							
							
							llvm-svn: 82433 
							
						 
						
							2009-09-21 03:09:59 +00:00