Go to file
Chris Bieneman e71fb5ce05 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
clang [modules] It's possible to merge into the pattern of a class template before we 2015-01-22 01:41:56 +00:00
clang-tools-extra [clang-tidy] Make ClangTidyOptionsProvider::getOptions return by value. 2015-01-20 09:48:51 +00:00
compiler-rt [msan] Fix origins in realloc. 2015-01-21 16:48:29 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Use amdgcn triple for SI+ GPUs 2015-01-06 20:42:12 +00:00
libcxx Fix lit config typo 2015-01-22 00:05:11 +00:00
libcxxabi Merge libc++abi's lit configuration with libc++'s 2015-01-21 23:06:22 +00:00
lld Fix five of the shared library build targets 2015-01-21 22:54:56 +00:00
lldb File::Read(), when asked to read the contents of a file into a heap 2015-01-22 00:41:05 +00:00
llgo Introduce llgoi, a REPL for Go 2015-01-15 04:13:29 +00:00
llvm Assigning and copying command line option objects shouldn't be allowed. 2015-01-22 01:49:59 +00:00
openmp added support for PPC architectures (version 3): initial patch provided by Carlo Bertolli, latest version from Johnny Peyton 2015-01-19 18:29:35 +00:00
polly Drop an unused parameter 2015-01-21 23:11:46 +00:00