Commit Graph

3 Commits

Author SHA1 Message Date
Alexis Hunt 6fc542c49b I've had too much to drink, apparently.
llvm-svn: 132566
2011-06-03 18:05:29 +00:00
Alexis Hunt ea31988f63 Implement a warning flag for the warning about default arguments making
special member functions.

llvm-svn: 132564
2011-06-03 17:55:52 +00:00
Alexis Hunt d051b87160 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
2011-05-26 01:26:05 +00:00