04a13befd8 
								
							 
						 
						
							
							
								
								Don't assume that F_None is the default. It is about to change.  
							
							... 
							
							
							
							llvm-svn: 202040 
							
						 
						
							2014-02-24 15:06:52 +00:00  
				
					
						
							
							
								 
						
							
								2a008784d3 
								
							 
						 
						
							
							
								
								Use the simpler version of llvm::sys::fs::remove when possible.  
							
							... 
							
							
							
							llvm-svn: 198957 
							
						 
						
							2014-01-10 21:32:14 +00:00  
				
					
						
							
							
								 
						
							
								33d4330393 
								
							 
						 
						
							
							
								
								Modernize some low-hanging PathV1 uses.  
							
							... 
							
							
							
							llvm-svn: 183903 
							
						 
						
							2013-06-13 14:26:04 +00:00  
				
					
						
							
							
								 
						
							
								be5138885d 
								
							 
						 
						
							
							
								
								Include PathV1.h in files that use it.  
							
							... 
							
							
							
							This is preparation for replacing Path.h with PathV2.h.
llvm-svn: 183781 
							
						 
						
							2013-06-11 19:59:07 +00:00  
				
					
						
							
							
								 
						
							
								ae61151254 
								
							 
						 
						
							
							
								
								Escape # and $ in dependency files.  
							
							... 
							
							
							
							Fixes PR15642.
llvm-svn: 178540 
							
						 
						
							2013-04-02 13:38:48 +00:00  
				
					
						
							
							
								 
						
							
								19d78b743f 
								
							 
						 
						
							
							
								
								For PPCallbacks::InclusionDirective() add a parameter for the module, whenever  
							
							... 
							
							
							
							an inclusion directive was automatically turned into a module import, and
PPCallbacks::moduleImport() for an explicit module import.
llvm-svn: 164874 
							
						 
						
							2012-09-29 01:06:10 +00:00  
				
					
						
							
							
								 
						
							
								4fcd2885de 
								
							 
						 
						
							
							
								
								Per discussion in  http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20120917/064551.html  
							
							... 
							
							
							
							have PPCallbacks::InclusionDirective pass the character range for the filename quotes or brackets.
rdar://11113134 & http://llvm.org/PR13880 
llvm-svn: 164743 
							
						 
						
							2012-09-27 01:42:07 +00:00  
				
					
						
							
							
								 
						
							
								0e7e3fc130 
								
							 
						 
						
							
							
								
								Delete the depfile if we could not open a header file.  We cannot  
							
							... 
							
							
							
							generate any reasonable depfile if a header is missing.
llvm-svn: 145019 
							
						 
						
							2011-11-21 00:01:14 +00:00  
				
					
						
							
							
								 
						
							
								7a70d2f11b 
								
							 
						 
						
							
							
								
								For the FileChanged Preprocessor callback, when exiting a file, pass its FileID.  
							
							... 
							
							
							
							llvm-svn: 141681 
							
						 
						
							2011-10-11 17:29:44 +00:00  
				
					
						
							
							
								 
						
							
								3781a36238 
								
							 
						 
						
							
							
								
								Change err_pp_file_not_found back to an Error; when it's a Warning, we suppress it in system headers.  And it is not a good idea to suppress it in system headers.  (This was originally changed in r134996 to implement -MG.)  
							
							... 
							
							
							
							Fixes <rdar://10041960>.  And also brings down the number of warnings without a flag by one :)
llvm-svn: 138842 
							
						 
						
							2011-08-30 23:07:51 +00:00  
				
					
						
							
							
								 
						
							
								35f5320d8e 
								
							 
						 
						
							
							
								
								Mechanically rename SourceManager::getInstantiationLoc and  
							
							... 
							
							
							
							FullSourceLoc::getInstantiationLoc to ...::getExpansionLoc. This is part
of the API and documentation update from 'instantiation' as the term for
macros to 'expansion'.
llvm-svn: 135914 
							
						 
						
							2011-07-25 16:49:02 +00:00  
				
					
						
							
							
								 
						
							
								0e62c1cc0b 
								
							 
						 
						
							
							
								
								remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports  
							
							... 
							
							
							
							them into the clang namespace.
llvm-svn: 135852 
							
						 
						
							2011-07-23 10:55:15 +00:00  
				
					
						
							
							
								 
						
							
								77b0e7f296 
								
							 
						 
						
							
							
								
								Implement -MG.  Fixes PR9613  
							
							... 
							
							
							
							llvm-svn: 134996 
							
						 
						
							2011-07-12 19:35:15 +00:00  
				
					
						
							
							
								 
						
							
								f7ca26a077 
								
							 
						 
						
							
							
								
								Fix up dependency file name printing to more closely match that of gcc, including fixing a nasty recent regression that could make us print "/foo.h" with a command-line including "-I ./".  
							
							... 
							
							
							
							rdar://problem/9734352
llvm-svn: 134728 
							
						 
						
							2011-07-08 20:17:28 +00:00  
				
					
						
							
							
								 
						
							
								193f783a99 
								
							 
						 
						
							
							
								
								Fixes a crash when generating dependency file stuff  
							
							... 
							
							
							
							and output file is not writable. // rdar://9286457.
llvm-svn: 129587 
							
						 
						
							2011-04-15 18:49:23 +00:00  
				
					
						
							
							
								 
						
							
								5df2a4e8df 
								
							 
						 
						
							
							
								
								fix clang -MM output to escape spaces in filenames.  This seems to be  
							
							... 
							
							
							
							the only character that GCC escapes.  PR9224.
llvm-svn: 125707 
							
						 
						
							2011-02-17 02:14:49 +00:00  
				
					
						
							
							
								 
						
							
								0eb9c124a7 
								
							 
						 
						
							
							
								
								It's not necessary to call flush() on a raw_ostream immediately prior  
							
							... 
							
							
							
							to deleting it.
llvm-svn: 109441 
							
						 
						
							2010-07-26 21:29:50 +00:00  
				
					
						
							
							
								 
						
							
								cb9eaf59fb 
								
							 
						 
						
							
							
								
								PPCallbacks: Add hook for reaching the end of the main file, and fix DependencyFile to not do work in its destructor.  
							
							... 
							
							
							
							llvm-svn: 99257 
							
						 
						
							2010-03-23 05:09:10 +00:00  
				
					
						
							
							
								 
						
							
								752a124aeb 
								
							 
						 
						
							
							
								
								Rename to addPPCallbacks since we're effectively adding a callback and maybe chaining it to an existing one  
							
							... 
							
							
							
							llvm-svn: 97913 
							
						 
						
							2010-03-07 07:30:06 +00:00  
				
					
						
							
							
								 
						
							
								981a6a110e 
								
							 
						 
						
							
							
								
								Don't assert if PP already contains a valid PP callback. The PP can handle multiple callbacks (using PPChainedCallbacks)  
							
							... 
							
							
							
							llvm-svn: 97910 
							
						 
						
							2010-03-07 07:18:58 +00:00  
				
					
						
							
							
								 
						
							
								16634c2c5a 
								
							 
						 
						
							
							
								
								Remove VISIBILITY_HIDDEN from anonymous namespaces in libFrontend.  
							
							... 
							
							
							
							llvm-svn: 90033 
							
						 
						
							2009-11-28 10:07:24 +00:00  
				
					
						
							
							
								 
						
							
								55b781f85e 
								
							 
						 
						
							
							
								
								Sink AttachDependencyFileGen into CreatePreprocessor.  
							
							... 
							
							
							
							llvm-svn: 86881 
							
						 
						
							2009-11-11 21:44:00 +00:00  
				
					
						
							
							
								 
						
							
								89d1fdff65 
								
							 
						 
						
							
							
								
								Add DependencyOutputOptions to wrap -M... options, and propogate to  
							
							... 
							
							
							
							CompilerInvocation and clang-cc.
llvm-svn: 86880 
							
						 
						
							2009-11-11 21:43:12 +00:00  
				
					
						
							
							
								 
						
							
								11289f4280 
								
							 
						 
						
							
							
								
								Remove tabs, and whitespace cleanups.  
							
							... 
							
							
							
							llvm-svn: 81346 
							
						 
						
							2009-09-09 15:08:12 +00:00  
				
					
						
							
							
								 
						
							
								cec35d7e6a 
								
							 
						 
						
							
							
								
								Clean up some unnecessary includes.  
							
							... 
							
							
							
							llvm-svn: 72101 
							
						 
						
							2009-05-19 04:30:57 +00:00  
				
					
						
							
							
								 
						
							
								16b7b6f511 
								
							 
						 
						
							
							
								
								Move clang-cc.h to lib/Frontend/Utils.h, and move the associated .cpp  
							
							... 
							
							
							
							files to lib/Frontend.
llvm-svn: 72099 
							
						 
						
							2009-05-19 04:14:29 +00:00