diff options
author | Alexis Hunt <alercah@gmail.com> | 2011-05-26 01:26:05 +0000 |
---|---|---|
committer | Alexis Hunt <alercah@gmail.com> | 2011-05-26 01:26:05 +0000 |
commit | d051b871609d8a071c2421f2d4168e3725ba2fcb (patch) | |
tree | 1443ed56a78d15378db75edc69b458fdf80ffe01 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 7fac79e255a90b2d029e8e918c7c64fb1cb23696 (diff) | |
download | llvm-d051b871609d8a071c2421f2d4168e3725ba2fcb.zip llvm-d051b871609d8a071c2421f2d4168e3725ba2fcb.tar.gz llvm-d051b871609d8a071c2421f2d4168e3725ba2fcb.tar.bz2 |
Implement a new warning for when adding a default argument to a method
makes it into a special member function. This is very bad and can lead
to all sorts of nastiness including implicit member functions violating
the One Definition Rule. This should probably be made ill-formed in a
later version of the standard, but for now we'll just warn.
llvm-svn: 132104
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions