Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								d062bff7ee 
								
							 
						 
						
							
							
								
								Introduce a new clang-cc option  
							
							 
							
							... 
							
							
							
							-remap-file=from;to
which takes the file "from" and transparently replaces its contents
with the contents of the file "to" from the source manager's
perspective. This is the moral equivalent of
  cp from saved
  cp to from
  <call clang>
  cp saved from
  rm saved
without all of the pesky file copying.
llvm-svn: 90307 
							
						 
						
							2009-12-02 08:08:39 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								53ad6b94b0 
								
							 
						 
						
							
							
								
								Extend the source manager with the ability to override the contents of  
							
							 
							
							... 
							
							
							
							files with the contents of an arbitrary memory buffer. Use this new
functionality to drastically clean up the way in which we handle file
truncation for code-completion: all of the truncation/completion logic
is now encapsulated in the preprocessor where it belongs
(<rdar://problem/7434737>).
llvm-svn: 90300 
							
						 
						
							2009-12-02 06:49:09 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								f09935f16c 
								
							 
						 
						
							
							
								
								Switch the clang-to-CIndex interface for code-completion to a binary format, for a massive speedup  
							
							 
							
							... 
							
							
							
							llvm-svn: 90209 
							
						 
						
							2009-12-01 05:55:20 +00:00  
						
					 
				
					
						
							
							
								 
								Kovarththanan Rajaratnam
							
						 
						
							 
							
							
							
							
								
							
							
								5505dff8af 
								
							 
						 
						
							
							
								
								This patch moves the frontend timer from clang-cc into CompilerInstance.  
							
							 
							
							... 
							
							
							
							CompilerInstance already contains various objects that are used
throughout the entire run.
Also addresses Daniels review comments in:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20091123/024508.html 
llvm-svn: 90073 
							
						 
						
							2009-11-29 09:57:35 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								2eaef18e76 
								
							 
						 
						
							
							
								
								Fix refactoro, clang-cc wasn't properly reporting errors when opening an output file failed.  
							
							 
							
							... 
							
							
							
							llvm-svn: 89502 
							
						 
						
							2009-11-20 22:32:38 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								d6ea9028e7 
								
							 
						 
						
							
							
								
								Simplify PreprocessorOptions, it doesn't need abstracted field access.  
							
							 
							
							... 
							
							
							
							llvm-svn: 89047 
							
						 
						
							2009-11-17 05:52:41 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								1b39a2edff 
								
							 
						 
						
							
							
								
								Shuffle VerifyDiagnosticsClient API to be less fragile.  
							
							 
							
							... 
							
							
							
							llvm-svn: 88765 
							
						 
						
							2009-11-14 07:53:24 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								409e890f8d 
								
							 
						 
						
							
							
								
								Add CompilerInstance::InitializeSourceManager.  
							
							 
							
							... 
							
							
							
							llvm-svn: 88764 
							
						 
						
							2009-11-14 07:53:04 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								50ec0da0e1 
								
							 
						 
						
							
							
								
								Switch -verify implementation to use VerifyDiagnosticClient.  
							
							 
							
							... 
							
							
							
							- Not tested, but -verify with multiple inputs should work now.
llvm-svn: 88750 
							
						 
						
							2009-11-14 03:24:39 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								56d9c293db 
								
							 
						 
						
							
							
								
								Add ASTConsumer to CompilerInstance.  
							
							 
							
							... 
							
							
							
							llvm-svn: 88743 
							
						 
						
							2009-11-14 02:47:17 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								e01dc86d2a 
								
							 
						 
						
							
							
								
								Move CompilerInstance::set* methods out-of-line.  
							
							 
							
							... 
							
							
							
							llvm-svn: 88731 
							
						 
						
							2009-11-14 01:20:40 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								420b0f1bd8 
								
							 
						 
						
							
							
								
								Add CompilerInstance utility functions for creating output files.  
							
							 
							
							... 
							
							
							
							llvm-svn: 88667 
							
						 
						
							2009-11-13 18:32:08 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								566eeb2da5 
								
							 
						 
						
							
							
								
								Add output file list to CompilerInstance, so that it can track them instead of  
							
							 
							
							... 
							
							
							
							forcing all clients to do it.
llvm-svn: 87103 
							
						 
						
							2009-11-13 10:37:48 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								f7093b5ae8 
								
							 
						 
						
							
							
								
								Add CodeCompletion consumer to CompilerInvocation.  
							
							 
							
							... 
							
							
							
							llvm-svn: 87100 
							
						 
						
							2009-11-13 09:36:05 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								599313ef94 
								
							 
						 
						
							
							
								
								Add CompilerInstance::createPCHExternalASTSource.  
							
							 
							
							... 
							
							
							
							llvm-svn: 87097 
							
						 
						
							2009-11-13 08:21:10 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								df3e30c41c 
								
							 
						 
						
							
							
								
								Add ASTContext to CompilerInstance.  
							
							 
							
							... 
							
							
							
							llvm-svn: 87095 
							
						 
						
							2009-11-13 08:20:47 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								7d75afc56a 
								
							 
						 
						
							
							
								
								Add CompilerInstance::createDiagnostics, and move clang-cc to it.  
							
							 
							
							... 
							
							
							
							clang-cc.cpp is now under 1k lines, if anyone is counting.
llvm-svn: 87090 
							
						 
						
							2009-11-13 05:52:34 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								aaa148fd36 
								
							 
						 
						
							
							
								
								Add Preprocessor to CompilerInstance, and move clang-cc CreatePreprocessor to  
							
							 
							
							... 
							
							
							
							CompilerInstance::createPreprocessor.
llvm-svn: 87088 
							
						 
						
							2009-11-13 05:52:11 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								546a676ae5 
								
							 
						 
						
							
							
								
								Add {File,Source}Manager to CompilerInstance.  
							
							 
							
							... 
							
							
							
							llvm-svn: 87079 
							
						 
						
							2009-11-13 04:12:06 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								636404a330 
								
							 
						 
						
							
							
								
								Add CompilerInstance, and starting moving clang-cc to it.  
							
							 
							
							... 
							
							
							
							- The design philosophy is in the CompilerInstance doxyment, if you don't agree
   with it now would be a good time to speak up.
llvm-svn: 87078 
							
						 
						
							2009-11-13 03:51:44 +00:00