llvm-mirror/tools/lli
Chris Bieneman 9a06c4c87f Assigning and copying command line option objects shouldn't be allowed.
Summary:
The default copy and assignment operators for these objects probably don't actually do what the clients intend, so they should be deleted.

Places using the assignment operator to set the value of an option should cast to the option's data type first to call into the override for operator=. Places using the copy constructor just need to be changed to not copy (i.e. passing by const reference instead of value).

Reviewers: dexonsmith, chandlerc

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D7114

llvm-svn: 226762
2015-01-22 01:49:59 +00:00
..
ChildTarget Silence gcc 4.9.1 warning 'xyz' is used uninitialized in this function. 2014-12-12 11:07:51 +00:00
Unix
Windows
CMakeLists.txt Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
lli.cpp Assigning and copying command line option objects shouldn't be allowed. 2015-01-22 01:49:59 +00:00
LLVMBuild.txt Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
Makefile Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
RemoteMemoryManager.cpp [MCJIT] Reapply r222828 and r222810-r222812 with fix for MSVC move-op issues. 2014-11-26 16:54:40 +00:00
RemoteMemoryManager.h [MCJIT] Reapply r222828 and r222810-r222812 with fix for MSVC move-op issues. 2014-11-26 16:54:40 +00:00
RemoteTarget.cpp
RemoteTarget.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
RemoteTargetExternal.cpp
RemoteTargetExternal.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
RemoteTargetMessage.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
RPCChannel.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00