Craig Topper 
							
						 
					 
					
						
						
							
						
						24ae56d4c9 
					 
					
						
						
							
							Fix some cases where StringRef was being passed by const reference. Remove const from some other StringRefs since its implicitly const already.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216820  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2014-08-30 16:48:02 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						34806d20dd 
					 
					
						
						
							
							yaml::Stream doesn't need to take ownership of the buffer.  
						
						... 
						
						
						
						In fact, most users were already using the StringRef version.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216575  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2014-08-27 19:03:22 +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 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						b5a6adc30a 
					 
					
						
						
							
							Convert an ownership comment with std::uinque_ptr.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215855  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2014-08-17 22:20:33 +00:00 
						 
				 
			
				
					
						
							
							
								Craig Topper 
							
						 
					 
					
						
						
							
						
						725011e72f 
					 
					
						
						
							
							[C++11] Replace some comparisons with 'nullptr' with simple boolean checks to reduce verbosity.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205829  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2014-04-09 04:20:00 +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 
						 
				 
			
				
					
						
							
							
								Nuno Lopes 
							
						 
					 
					
						
						
							
						
						2ca626570f 
					 
					
						
						
							
							remove a bunch of unused private methods  
						
						... 
						
						
						
						found with a smarter version of -Wunused-member-function that I'm playwing with.
Appologies in advance if I removed someone's WIP code.
 include/llvm/CodeGen/MachineSSAUpdater.h            |    1 
 include/llvm/IR/DebugInfo.h                         |    3 
 lib/CodeGen/MachineSSAUpdater.cpp                   |   10 --
 lib/CodeGen/PostRASchedulerList.cpp                 |    1 
 lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp    |   10 --
 lib/IR/DebugInfo.cpp                                |   12 --
 lib/MC/MCAsmStreamer.cpp                            |    2 
 lib/Support/YAMLParser.cpp                          |   39 ---------
 lib/TableGen/TGParser.cpp                           |   16 ---
 lib/TableGen/TGParser.h                             |    1 
 lib/Target/AArch64/AArch64TargetTransformInfo.cpp   |    9 --
 lib/Target/ARM/ARMCodeEmitter.cpp                   |   12 --
 lib/Target/ARM/ARMFastISel.cpp                      |   84 --------------------
 lib/Target/Mips/MipsCodeEmitter.cpp                 |   11 --
 lib/Target/Mips/MipsConstantIslandPass.cpp          |   12 --
 lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp              |   21 -----
 lib/Target/NVPTX/NVPTXISelDAGToDAG.h                |    2 
 lib/Target/PowerPC/PPCFastISel.cpp                  |    1 
 lib/Transforms/Instrumentation/AddressSanitizer.cpp |    2 
 lib/Transforms/Instrumentation/BoundsChecking.cpp   |    2 
 lib/Transforms/Instrumentation/MemorySanitizer.cpp  |    1 
 lib/Transforms/Scalar/LoopIdiomRecognize.cpp        |    8 -
 lib/Transforms/Scalar/SCCP.cpp                      |    1 
 utils/TableGen/CodeEmitterGen.cpp                   |    2 
 24 files changed, 2 insertions(+), 261 deletions(-)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204560  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2014-03-23 17:09:26 +00:00 
						 
				 
			
				
					
						
							
							
								Ahmed Charles 
							
						 
					 
					
						
						
							
						
						f4ccd11075 
					 
					
						
						
							
							Replace OwningPtr<T> with std::unique_ptr<T>.  
						
						... 
						
						
						
						This compiles with no changes to clang/lld/lldb with MSVC and includes
overloads to various functions which are used by those projects and llvm
which have OwningPtr's as parameters. This should allow out of tree
projects some time to move. There are also no changes to libs/Target,
which should help out of tree targets have time to move, if necessary.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203083  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2014-03-06 05:51:42 +00:00 
						 
				 
			
				
					
						
							
							
								Chandler Carruth 
							
						 
					 
					
						
						
							
						
						0a3eef53d7 
					 
					
						
						
							
							[C++11] Switch all uses of the llvm_move macro to use std::move  
						
						... 
						
						
						
						directly, and remove the macro.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202612  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2014-03-02 04:08:41 +00:00 
						 
				 
			
				
					
						
							
							
								Juergen Ributzka 
							
						 
					 
					
						
						
							
						
						354362524a 
					 
					
						
						
							
							[weak vtables] Remove a bunch of weak vtables  
						
						... 
						
						
						
						This patch removes most of the trivial cases of weak vtables by pinning them to
a single object file. The memory leaks in this version have been fixed. Thanks
Alexey for pointing them out.
Differential Revision: http://llvm-reviews.chandlerc.com/D2068 
Reviewed by Andy
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195064  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2013-11-19 00:57:56 +00:00 
						 
				 
			
				
					
						
							
							
								Alexey Samsonov 
							
						 
					 
					
						
						
							
						
						b21ab43cfc 
					 
					
						
						
							
							Revert r194865 and r194874.  
						
						... 
						
						
						
						This change is incorrect. If you delete virtual destructor of both a base class
and a subclass, then the following code:
  Base *foo = new Child();
  delete foo;
will not cause the destructor for members of Child class. As a result, I observe
plently of memory leaks. Notable examples I investigated are:
ObjectBuffer and ObjectBufferStream, AttributeImpl and StringSAttributeImpl.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194997  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2013-11-18 09:31:53 +00:00 
						 
				 
			
				
					
						
							
							
								Juergen Ributzka 
							
						 
					 
					
						
						
							
						
						5a364c5561 
					 
					
						
						
							
							[weak vtables] Remove a bunch of weak vtables  
						
						... 
						
						
						
						This patch removes most of the trivial cases of weak vtables by pinning them to
a single object file.
Differential Revision: http://llvm-reviews.chandlerc.com/D2068 
Reviewed by Andy
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194865  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2013-11-15 22:34:48 +00:00 
						 
				 
			
				
					
						
							
							
								Michael J. Spencer 
							
						 
					 
					
						
						
							
						
						8fc9986bdf 
					 
					
						
						
							
							Can we move to C++11 already?  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193007  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2013-10-18 23:07:01 +00:00 
						 
				 
			
				
					
						
							
							
								Michael J. Spencer 
							
						 
					 
					
						
						
							
						
						44a4cfb63d 
					 
					
						
						
							
							[Support][YAML] Add support for accessing tags and tag handle substitution.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193004  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2013-10-18 22:38:04 +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 
						 
				 
			
				
					
						
							
							
								Chandler Carruth 
							
						 
					 
					
						
						
							
						
						d04a8d4b33 
					 
					
						
						
							
							Use the new script to sort the includes of every file under lib.  
						
						... 
						
						
						
						Sooooo many of these had incorrect or strange main module includes.
I have manually inspected all of these, and fixed the main module
include to be the nearest plausible thing I could find. If you own or
care about any of these source files, I encourage you to take some time
and check that these edits were sensible. I can't have broken anything
(I strictly added headers, and reordered them, never removed), but they
may not be the headers you'd really like to identify as containing the
API being implemented.
Many forward declarations and missing includes were added to a header
files to allow them to parse cleanly when included first. The main
module rule does in fact have its merits. =]
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169131  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-12-03 16:50:05 +00:00 
						 
				 
			
				
					
						
							
							
								Sean Silva 
							
						 
					 
					
						
						
							
						
						525398e137 
					 
					
						
						
							
							Allow using MemoryBuffers with yaml::Stream directly.  
						
						... 
						
						
						
						The rationale is to get YAML filenames in diagnostics from
yaml::Stream::printError -- currently the filename is hard-coded as
"YAML" because there's no buffer information available.
Patch by Kim Gräsman!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168341  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-11-19 23:21:47 +00:00 
						 
				 
			
				
					
						
							
							
								Benjamin Kramer 
							
						 
					 
					
						
						
							
						
						696e06e453 
					 
					
						
						
							
							YAMLParser: Fix invalid reads when encountering incorrectly quoted scalar.  
						
						... 
						
						
						
						Fixes PR12632.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164701  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-09-26 15:52:15 +00:00 
						 
				 
			
				
					
						
							
							
								Benjamin Kramer 
							
						 
					 
					
						
						
							
						
						e288cd100f 
					 
					
						
						
							
							Remove unused private member variables uncovered by the recent changes to clang's -Wunused-private-field.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160583  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-07-20 22:05:57 +00:00 
						 
				 
			
				
					
						
							
							
								Dmitri Gribenko 
							
						 
					 
					
						
						
							
						
						77592fe39c 
					 
					
						
						
							
							Convert comments to proper Doxygen comments.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158248  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-06-09 00:01:45 +00:00 
						 
				 
			
				
					
						
							
							
								Michael J. Spencer 
							
						 
					 
					
						
						
							
						
						24b709529f 
					 
					
						
						
							
							[Support/YAMLParser] Use rtrim on plain scalars.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156787  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-05-14 22:43:34 +00:00 
						 
				 
			
				
					
						
							
							
								Benjamin Kramer 
							
						 
					 
					
						
						
							
						
						34df1600e0 
					 
					
						
						
							
							YAMLParser: get rid of global ctors & dtors.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155907  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-05-01 10:19:59 +00:00 
						 
				 
			
				
					
						
							
							
								Michael J. Spencer 
							
						 
					 
					
						
						
							
						
						57d61de858 
					 
					
						
						
							
							[Support/YAMLParser] Fix ASan found bugs.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155735  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-04-27 21:12:20 +00:00 
						 
				 
			
				
					
						
							
							
								Michael J. Spencer 
							
						 
					 
					
						
						
							
						
						60f3d92b2a 
					 
					
						
						
							
							[Support/YAML] Properly fix unitialized variable warning by inserting a  
						
						... 
						
						
						
						'REPLACEMENT CHARACTER' (U+FFFD) when getAsInteger fails.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155653  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-04-26 19:27:11 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						eb23f9e92e 
					 
					
						
						
							
							Remove some potential warnings about variables used uninitialized.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155307  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-04-22 07:23:04 +00:00 
						 
				 
			
				
					
						
							
							
								Benjamin Kramer 
							
						 
					 
					
						
						
							
						
						2ddb84506c 
					 
					
						
						
							
							YAMLParser: silence warning about tautological comparison on unsigned-char platforms.  
						
						... 
						
						
						
						No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155280  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-04-21 10:51:42 +00:00 
						 
				 
			
				
					
						
							
							
								Benjamin Kramer 
							
						 
					 
					
						
						
							
						
						a95b4ebf3c 
					 
					
						
						
							
							Move yaml::Stream's dtor out of line so it can see Scanner's dtor.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154004  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-04-04 08:53:34 +00:00 
						 
				 
			
				
					
						
							
							
								Michael J. Spencer 
							
						 
					 
					
						
						
							
						
						c35146b725 
					 
					
						
						
							
							Sorry about that. MSVC seems to accept just about any random string you give it ;/  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153979  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-04-03 23:36:44 +00:00 
						 
				 
			
				
					
						
							
							
								Michael J. Spencer 
							
						 
					 
					
						
						
							
						
						93210e847a 
					 
					
						
						
							
							Add YAML parser to Support.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153977  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-04-03 23:09:22 +00:00