| 
							
							
								 Rafael Espindola | 1a7f705fba | Return a std::unique_ptr when creating a new MemoryBuffer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216583 91177308-0d34-0410-b5e6-96231b3b80d8 | 2014-08-27 20:03:13 +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 | 867c189d89 | SourceMgr diagnotics printing: fix a bug where printing a fixit for a source range that includes a tab character will cause out-of-bounds access to the
fixit string.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191563 91177308-0d34-0410-b5e6-96231b3b80d8 | 2013-09-27 21:24:36 +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 |  |