184e65d363 
								
							 
						 
						
							
							
								
								Change Lexer::MeasureTokenLength to take a LangOptions reference.  
							
							... 
							
							
							
							This allows it to accurately measure tokens, so that we get:
t.cpp:8:13: error: unknown type name 'X'
static foo::X  P;
       ~~~~~^
instead of the woefully inferior:
t.cpp:8:13: error: unknown type name 'X'
static foo::X  P;
       ~~~~ ^
Most of this is just plumbing to push the reference around.
llvm-svn: 69099 
							
						 
						
							2009-04-14 23:22:57 +00:00  
				
					
						
							
							
								 
						
							
								9c0d38a7a0 
								
							 
						 
						
							
							
								
								Add a new command-line option "-fixit-at=file:line:column" that only  
							
							... 
							
							
							
							applies fix-its to error messages that occur at that specific location
in the program. 
llvm-svn: 68342 
							
						 
						
							2009-04-02 19:05:20 +00:00  
				
					
						
							
							
								 
						
							
								a42bd8433d 
								
							 
						 
						
							
							
								
								Provide FIX-IT notes to describe what fix-it is doing behind the  
							
							... 
							
							
							
							scenes, using the underlying diagnostic client to format the
messages.
llvm-svn: 68324 
							
						 
						
							2009-04-02 17:13:00 +00:00  
				
					
						
							
							
								 
						
							
								068913eb7a 
								
							 
						 
						
							
							
								
								Some cleanups to the fix-it rewriter. Thanks, Chris  
							
							... 
							
							
							
							llvm-svn: 68322 
							
						 
						
							2009-04-02 16:34:42 +00:00  
				
					
						
							
							
								 
						
							
								862ffb11d5 
								
							 
						 
						
							
							
								
								Clean up -fixit output slightly  
							
							... 
							
							
							
							llvm-svn: 68278 
							
						 
						
							2009-04-02 03:14:12 +00:00  
				
					
						
							
							
								 
						
							
								578dae57ca 
								
							 
						 
						
							
							
								
								Introduce a "-fixit" mode to clang-cc that applies code-modification hints.  
							
							... 
							
							
							
							llvm-svn: 68268 
							
						 
						
							2009-04-02 01:08:08 +00:00