Aaron Ballman 
							
						 
					 
					
						
						
							
						
						66981fe208 
					 
					
						
						
							
							Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229340  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2015-02-15 22:54:22 +00:00 
						 
				 
			
				
					
						
							
							
								Reid Kleckner 
							
						 
					 
					
						
						
							
						
						a79efd7469 
					 
					
						
						
							
							Add an explicit move constructor to SrcBuffer  
						
						... 
						
						
						
						MSVC can't synthesize the explicit one.  Instead it tries to emit a copy
ctor which would call the deleted copy ctor of unique_ptr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216244  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2014-08-21 23:24:08 +00:00 
						 
				 
			
				
					
						
							
							
								David Blaikie 
							
						 
					 
					
						
						
							
						
						95ca0fb247 
					 
					
						
						
							
							Explicitly pass ownership of the MemoryBuffer to AddNewSourceBuffer using std::unique_ptr  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216223  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2014-08-21 20:44:56 +00:00 
						 
				 
			
				
					
						
							
							
								Dmitri Gribenko 
							
						 
					 
					
						
						
							
						
						7b39c067ac 
					 
					
						
						
							
							SourceMgr: consistently use 'unsigned' for the memory buffer ID type  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212595  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2014-07-09 08:30:15 +00:00 
						 
				 
			
				
					
						
							
							
								Alp Toker 
							
						 
					 
					
						
						
							
						
						1508c82095 
					 
					
						
						
							
							SourceMgr: make valid buffer IDs start from one  
						
						... 
						
						
						
						Use 0 for the invalid buffer instead of -1/~0 and switch to unsigned
representation to enable more idiomatic usage.
Also introduce a trivial SourceMgr::getMainFileID() instead of hard-coding 0/1
to identify the main file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212398  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2014-07-06 10:33:31 +00:00 
						 
				 
			
				
					
						
							
							
								Jordan Rose 
							
						 
					 
					
						
						
							
						
						4e23baa945 
					 
					
						
						
							
							Add an overload for SourceMgr::PrintMessage that takes an existing diagnostic.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211087  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2014-06-17 02:15:40 +00:00 
						 
				 
			
				
					
						
							
							
								Jordan Rose 
							
						 
					 
					
						
						
							
						
						ecb1c3aa8c 
					 
					
						
						
							
							Modernize doc comments for SourceMgr.  
						
						... 
						
						
						
						No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211086  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2014-06-17 02:15:36 +00:00 
						 
				 
			
				
					
						
							
							
								Craig Topper 
							
						 
					 
					
						
						
							
						
						34bc6b6e78 
					 
					
						
						
							
							[C++11] Make use of 'nullptr' in the Support library.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205697  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2014-04-07 04:17:22 +00:00 
						 
				 
			
				
					
						
							
							
								Dmitri Gribenko 
							
						 
					 
					
						
						
							
						
						8a93c3ab21 
					 
					
						
						
							
							Make SourceMgr::PrintMessage() testable and add unit tests  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191558  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2013-09-27 21:09:25 +00:00 
						 
				 
			
				
					
						
							
							
								Matt Arsenault 
							
						 
					 
					
						
						
							
						
						ac9e819ca9 
					 
					
						
						
							
							Fix size_t -> uint warnings with MSVC 64-bit build  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186736  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2013-07-20 00:20:10 +00:00 
						 
				 
			
				
					
						
							
							
								Dmitri Gribenko 
							
						 
					 
					
						
						
							
						
						5c332dbd30 
					 
					
						
						
							
							Add ArrayRef constructor from None, and do the cleanups that this constructor enables  
						
						... 
						
						
						
						Patch by Robert Wilhelm.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181138  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2013-05-05 00:40:33 +00:00 
						 
				 
			
				
					
						
							
							
								Jordan Rose 
							
						 
					 
					
						
						
							
						
						9b1f44b147 
					 
					
						
						
							
							Add basic fix-its to SMDiagnostic.  
						
						... 
						
						
						
						Like Clang's FixItHint, SMFixIt represents an insertion, replacement, or
removal of source text. One or more fix-its can be emitted as part of
a diagnostic, and will be printed below the source range line to show the
user how they can fix their code.
Currently, the only client of SMFixIt is clang-tblgen; thus, the tests for
this behavior live in clang/test/TableGen/tg-fixits.td. If/when SMFixIt is
adopted within LLVM itself, those tests should be moved to the LLVM suite.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172086  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2013-01-10 18:50:15 +00:00 
						 
				 
			
				
					
						
							
							
								Jakub Staszak 
							
						 
					 
					
						
						
							
						
						674be02d52 
					 
					
						
						
							
							Fix include guards so they exactly match file names.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172025  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2013-01-10 00:45:19 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Christopher 
							
						 
					 
					
						
						
							
						
						6c583141bf 
					 
					
						
						
							
							Add support for passing -main-file-name all the way through to  
						
						... 
						
						
						
						the assembler.
Part of PR14624
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170390  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-12-18 00:31:01 +00:00 
						 
				 
			
				
					
						
							
							
								Chandler Carruth 
							
						 
					 
					
						
						
							
						
						255f89faee 
					 
					
						
						
							
							Sort the #include lines for the include/... tree with the script.  
						
						... 
						
						
						
						AKA: Recompile *ALL* the source code!
This one went much better. No manual edits here. I spot-checked for
silliness and grep-checked for really broken edits and everything seemed
good. It all still compiles. Yell if you see something that looks goofy.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169133  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-12-03 17:02:12 +00:00 
						 
				 
			
				
					
						
							
							
								Craig Topper 
							
						 
					 
					
						
						
							
						
						f630e49efc 
					 
					
						
						
							
							Use LLVM_DELETED_FUNCTION for copy constructors and copy assignment operators that aren't implemented.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164006  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-09-16 21:37:56 +00:00 
						 
				 
			
				
					
						
							
							
								Dmitri Gribenko 
							
						 
					 
					
						
						
							
						
						a00b80b04c 
					 
					
						
						
							
							Fix a bunch of -Wdocumentation warnings.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162446  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-08-23 16:54:08 +00:00 
						 
				 
			
				
					
						
							
							
								Nick Kledzik 
							
						 
					 
					
						
						
							
						
						18e2f6e94c 
					 
					
						
						
							
							fix warnings when compiling with -Wshadow  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157061  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-05-18 18:39:06 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						77eafd940a 
					 
					
						
						
							
							reapply my patch, with a fix for an off-by-one error.  Turned out to be a lot  
						
						... 
						
						
						
						of work for a drive-by fix :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156246  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-05-05 22:17:32 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						c18e6d9375 
					 
					
						
						
							
							revert my patches, which are causing problems.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156245  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-05-05 22:11:04 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						b3a6194eba 
					 
					
						
						
							
							add missing header <shame>  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156244  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-05-05 22:04:11 +00:00 
						 
				 
			
				
					
						
							
							
								Benjamin Kramer 
							
						 
					 
					
						
						
							
						
						89f33fdb77 
					 
					
						
						
							
							SourceMgr: Colorize diagnostics.  
						
						... 
						
						
						
						Same color scheme as clang uses. The colors are only enabled if the output is a tty.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155035  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-04-18 19:04:15 +00:00 
						 
				 
			
				
					
						
							
							
								Benjamin Kramer 
							
						 
					 
					
						
						
							
						
						04a0426cc2 
					 
					
						
						
							
							PR11143: Save the old diagnostic handler and call it when munging diagnostics for #line directives.  
						
						... 
						
						
						
						This reenables proper inline asm diagnostics in clang
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142132  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-10-16 10:48:29 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						462b43cbf6 
					 
					
						
						
							
							remove the dead 'ShowLine' argument from SMDiagnostic.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142108  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-10-16 05:47:55 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						3f2d5f60b3 
					 
					
						
						
							
							Make SMDiagnostic a little more sane.  Instead of passing around note/warning/error as a  
						
						... 
						
						
						
						string, pass it around as an enum.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142107  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-10-16 05:43:57 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						d8b7aa2613 
					 
					
						
						
							
							Enhance llvm::SourceMgr to support diagnostic ranges, the same way clang does.  Enhance  
						
						... 
						
						
						
						the X86 asmparser to produce ranges in the one case that was annoying me, for example:
test.s:10:15: error: invalid operand for instruction
movl 0(%rax), 0(%edx)
              ^~~~~~~
It should be straight-forward to enhance filecheck, tblgen, and/or the .ll parser to use 
ranges where appropriate if someone is interested.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142106  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-10-16 04:47:35 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin Enderby 
							
						 
					 
					
						
						
							
						
						acbaecd4c8 
					 
					
						
						
							
							Finish supporting cpp #file/line comments in assembler for error messages. So  
						
						... 
						
						
						
						for cpp pre-processed assembly we give correct filename and line numbers when
reporting errors in assembly files when using clang and -integrated-as on .s
files. rdar://8998895
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141814  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-10-12 21:38:39 +00:00 
						 
				 
			
				
					
						
							
							
								Joerg Sonnenberger 
							
						 
					 
					
						
						
							
						
						dd137903e4 
					 
					
						
						
							
							Add new -d option to tblgen. It writes a make(1)-style dependency file.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132395  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-06-01 13:10:15 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						d50f3f8731 
					 
					
						
						
							
							Remove the showline argument from the SMDiagnostic constructor  
						
						... 
						
						
						
						which constructs a diagnostic with no line to show.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126787  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-03-01 22:11:52 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						32e20a45e5 
					 
					
						
						
							
							add a missing const qualifier for consistency.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126742  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-03-01 08:36:21 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						4afa12890f 
					 
					
						
						
							
							now that AsmPrinter::EmitInlineAsm is factored right, we can eliminate the  
						
						... 
						
						
						
						cookie argument to the SourceMgr diagnostic stuff.  This cleanly separates
LLVMContext's inlineasm handler from the sourcemgr error handling 
definition, increasing type safety and cleaning things up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119486  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-11-17 08:13:01 +00:00 
						 
				 
			
				
					
						
							
							
								Benjamin Kramer 
							
						 
					 
					
						
						
							
						
						d1e1703c39 
					 
					
						
						
							
							Push twines deeper into SourceMgr's error handling methods.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114847  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-09-27 17:42:11 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						26e064ff32 
					 
					
						
						
							
							Don't construct a std::string with a literal "".  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110180  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-08-04 01:14:33 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						779804353d 
					 
					
						
						
							
							this accessor doesn't need to copy the string.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100542  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-06 18:37:22 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						b019491b8d 
					 
					
						
						
							
							enhance SMDiagnostic to also maintain a pointer to the SourceMgr.  
						
						... 
						
						
						
						Add a simplified constructor for clients that don't have locations
like "file not found" errors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100538  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-06 18:06:18 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						214aa8a2cf 
					 
					
						
						
							
							give the SourceMgr object a cookie.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100504  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-06 00:33:43 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						8f0f480a10 
					 
					
						
						
							
							Give llvm::SourceMgr the ability to have a client-specified  
						
						... 
						
						
						
						diagnostic handler.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100503  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-06 00:26:48 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						e072ab8691 
					 
					
						
						
							
							add a comment.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100490  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-05 23:07:42 +00:00 
						 
				 
			
				
					
						
							
							
								Jeffrey Yasskin 
							
						 
					 
					
						
						
							
						
						9233b15d01 
					 
					
						
						
							
							Fix some of the memcheck errors found in the JIT unittests.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95856  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-02-11 06:41:30 +00:00 
						 
				 
			
				
					
						
							
							
								Mikhail Glushenkov 
							
						 
					 
					
						
						
							
						
						42210668da 
					 
					
						
						
							
							Make SMDiagnostic::Print a const method.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94672  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-01-27 10:13:28 +00:00 
						 
				 
			
				
					
						
							
							
								Mikhail Glushenkov 
							
						 
					 
					
						
						
							
						
						e690ffbe6d 
					 
					
						
						
							
							Trailing whitespace.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94671  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-01-27 10:13:11 +00:00 
						 
				 
			
				
					
						
							
							
								Sean Callanan 
							
						 
					 
					
						
						
							
						
						1ae486a4a0 
					 
					
						
						
							
							Split SMLoc out in its own header so that it can  
						
						... 
						
						
						
						be used independently of SourceMgr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93780  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-01-18 22:07:51 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						4153982375 
					 
					
						
						
							
							SourceMgr: Add ShowLine argument to PrintMessage, to allow suppressing the source line output.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89627  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-11-22 22:08:00 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						1d96ccc69a 
					 
					
						
						
							
							add a trivial line # cache to SourceMgr to make repeated queries to  
						
						... 
						
						
						
						FindLineNumber much faster when in sequence.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78693  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-11 17:49:14 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						3751aa559d 
					 
					
						
						
							
							Use the default copy-ctor, copy-assignment, and destructor.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78670  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-11 15:52:30 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						eeb4a84ac8 
					 
					
						
						
							
							switch the .ll parser to use SourceMgr.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74735  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-02 23:08:13 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						2f510aed9c 
					 
					
						
						
							
							add an explicit class for holding llvm::SourceMgr diagnostics and use  
						
						... 
						
						
						
						it to print them.  This gives us column numbers in the diag line.  Before:
t.s:4: error: unexpected token in argument list
 mov %eax %edx
          ^
now:
t.s:4:11: error: unexpected token in argument list
 mov %eax %edx
          ^
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74732  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-02 22:24:20 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						3fb7683bec 
					 
					
						
						
							
							Normalize SourceMgr messages.  
						
						... 
						
						
						
						- Don't print "Parsing" in front of every message.
 - Take additional "type" argument which is prepended to the message (with ": ")
   if given.
 - Update clients to print errors (warnings) as:
<filename>:<line number>: error(warning): ...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74489  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-30 00:49:23 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						9146d0e89c 
					 
					
						
						
							
							Add SMLoc::isValid method.  
						
						... 
						
						
						
						- To support using SMLoc as a sentinel.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74474  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-29 23:28:55 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						14ee48a5ba 
					 
					
						
						
							
							rename SourceMgr::PrintError to PrintMessage.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73861  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-21 21:22:11 +00:00