llvm/tools/llvm-profdata
Chris Bieneman e84c7b1116 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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226762 91177308-0d34-0410-b5e6-96231b3b80d8
2015-01-22 01:49:59 +00:00
..
CMakeLists.txt [CMake] llvm-profdata requires Core. 2014-11-01 11:46:04 +00:00
llvm-profdata.cpp Assigning and copying command line option objects shouldn't be allowed. 2015-01-22 01:49:59 +00:00
LLVMBuild.txt ProfileData: Introduce the InstrProfReader interface and a text reader 2014-03-21 17:24:48 +00:00
Makefile llvm-profdata doesn't require LLVMCore. 2014-03-23 01:23:26 +00:00