Chris Lattner 
							
						 
					 
					
						
						
							
						
						ec5a0b336a 
					 
					
						
						
							
							diaggroup categories should take precedence over diag-specific groups.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104567  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-24 21:55:47 +00:00 
						 
				 
			
				
					
						
							
							
								Chandler Carruth 
							
						 
					 
					
						
						
							
						
						93ca7b60bf 
					 
					
						
						
							
							Update tablegen to generate shorts instead of chars for subgroup arrays.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103704  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-13 07:43:47 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						af1465b17b 
					 
					
						
						
							
							add the ability to associate 'category' names with clang diagnostics  
						
						... 
						
						
						
						and diagnostic groups.  This allows the compiler to group 
diagnostics together (e.g. "Logic Warning", 
"Format String Warning", etc) like the static analyzer does.  
This is not exposed through anything in the compiler yet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103050  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-04 20:44:23 +00:00 
						 
				 
			
				
					
						
							
							
								Kovarththanan Rajaratnam 
							
						 
					 
					
						
						
							
						
						e7e891f6af 
					 
					
						
						
							
							Add an extra newline to separate PP directives from the contents  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98820  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-03-18 13:16:38 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						3446cf142e 
					 
					
						
						
							
							Use raw_ostream::write_escaped instead of EscapeString.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84356  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-10-17 20:43:19 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						1a55180238 
					 
					
						
						
							
							Replace std::iostreams with raw_ostream in TableGen.  
						
						... 
						
						
						
						- Sorry, I can't help myself.
 - No intended functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74742  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-03 00:10:29 +00:00 
						 
				 
			
				
					
						
							
							
								Douglas Gregor 
							
						 
					 
					
						
						
							
						
						956244b337 
					 
					
						
						
							
							Add output of the SFINAE bit for Clang's diagnostics  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73331  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-14 07:24:49 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						bfc0104c76 
					 
					
						
						
							
							prove diagnostic -> group mapping information.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69270  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-04-16 05:52:18 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						9efac568f0 
					 
					
						
						
							
							encode subgroups into the clang .inc file.  -Wall now works!  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69257  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-04-16 03:16:12 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						d0d3494b2f 
					 
					
						
						
							
							start producing subgroup info.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69249  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-04-16 00:53:25 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						a0ed8ca233 
					 
					
						
						
							
							make sure that empty diag groups get known by clang.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69235  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-04-15 22:33:02 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						2f8c1d5fbc 
					 
					
						
						
							
							implement support for writing out diagnostic group tables.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69219  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-04-15 20:55:08 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						9371c33611 
					 
					
						
						
							
							use UppercaseString instead of EmitAllCaps  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69213  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-04-15 20:16:12 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						457cde4d45 
					 
					
						
						
							
							use escape string.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69212  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-04-15 20:13:18 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						ac9e7da69c 
					 
					
						
						
							
							rename -gen-clang-diags-options -> -gen-clang-diag-groups  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69208  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-04-15 20:02:32 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						a71c494cd8 
					 
					
						
						
							
							don't infer diag class from parenting relations, make it an explicit field  
						
						... 
						
						
						
						in the record.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69176  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-04-15 16:55:46 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						5b66c04f33 
					 
					
						
						
							
							include the default mapping in the clang diagnostic .inc files.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69173  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-04-15 16:43:18 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						f1624aa4dc 
					 
					
						
						
							
							minor cleanups  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69152  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-04-15 06:26:49 +00:00 
						 
				 
			
				
					
						
							
							
								Ted Kremenek 
							
						 
					 
					
						
						
							
						
						ef66abeaee 
					 
					
						
						
							
							Constify method to make VC++ happy.  Patch by Brian Diekelman!  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68222  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-04-01 18:24:22 +00:00 
						 
				 
			
				
					
						
							
							
								Jim Grosbach 
							
						 
					 
					
						
						
							
						
						da4231f134 
					 
					
						
						
							
							fix a few spelling errors and typos  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67758  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-03-26 16:17:51 +00:00 
						 
				 
			
				
					
						
							
							
								Ted Kremenek 
							
						 
					 
					
						
						
							
						
						13b9bf9022 
					 
					
						
						
							
							Add sanity check in Clang TableGen backend to check if 'Component' is a string.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67565  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-03-23 21:54:33 +00:00 
						 
				 
			
				
					
						
							
							
								Ted Kremenek 
							
						 
					 
					
						
						
							
						
						7fae82f67a 
					 
					
						
						
							
							Fix regression in 'tblgen -gen-clang-diags-defs': Emit the diagnostic kind instead of "DIAGNOSTICCONTROLLED".  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67305  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-03-19 17:18:09 +00:00 
						 
				 
			
				
					
						
							
							
								Ted Kremenek 
							
						 
					 
					
						
						
							
						
						0f9d510193 
					 
					
						
						
							
							tblgen -gen-clang-diags-options: Output OptionTable entries in lexicographic  
						
						... 
						
						
						
						order.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67244  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-03-18 21:36:46 +00:00 
						 
				 
			
				
					
						
							
							
								Ted Kremenek 
							
						 
					 
					
						
						
							
						
						3ac82fe490 
					 
					
						
						
							
							'tblgen -gen-clang-diags-options' now outputs the OptionTable:  
						
						... 
						
						
						
						static const WarningOption OptionTable[] = {
    {"unused-macros", DIAGS(UnusedMacrosDiags)}
    ...
  };
This table is not yet properly sorted.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67242  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-03-18 21:28:47 +00:00 
						 
				 
			
				
					
						
							
							
								Ted Kremenek 
							
						 
					 
					
						
						
							
						
						8b9d027701 
					 
					
						
						
							
							Add another Clang TableGen-backend (-gen-clang-diags-options) for emitting  
						
						... 
						
						
						
						declarations for controlling groups of warnings. Currently this transforms:
  def UnusedMacrosDiags : Option<"unused-macros", [pp_macro_not_used]>;
  
into:
  static const diag::kind UnusedMacrosDiags[] = { diag::pp_macro_not_used };
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67239  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-03-18 21:16:16 +00:00 
						 
				 
			
				
					
						
							
							
								Ted Kremenek 
							
						 
					 
					
						
						
							
						
						557f7f88ba 
					 
					
						
						
							
							Add (hidden) TableGen command option '-clang-component' which specifies the  
						
						... 
						
						
						
						component's warnings to process for '-gen-clang-diags-defs'.
Also, when the component is specified, generate a '#if' prologue at the top of
the generated .def file (to match the current files).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66975  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-03-13 22:53:41 +00:00 
						 
				 
			
				
					
						
							
							
								Ted Kremenek 
							
						 
					 
					
						
						
							
						
						04a847e706 
					 
					
						
						
							
							Add initial implementation of a TableGen backend for converting Clang-warnings  
						
						... 
						
						
						
						tablegen files to the original .def preprocessor include files. This is my first
TableGen backend; I don't claim that it is awesome.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66971  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-03-13 22:21:17 +00:00