]> granicus.if.org Git - clang/commit
Re-do R131114 without breaking code.
authorSean Hunt <scshunt@csclub.uwaterloo.ca>
Tue, 10 May 2011 19:08:14 +0000 (19:08 +0000)
committerSean Hunt <scshunt@csclub.uwaterloo.ca>
Tue, 10 May 2011 19:08:14 +0000 (19:08 +0000)
commitf961ea5716867b5e426fb2136edd6d1f04c3a7ca
tree779d80571fb200593f8b1e124326963c2e5a8830
parented63e03e35f2c8ad1a06d7bbc2249d132a730175
Re-do R131114 without breaking code.

I've edited one diagnostic which would print "copy constructor" for copy
constructors and "constructor" for any other constructor. If anyone is
extremely enamored with this, it can be reinstated with a simple boolean
flag rather than calling getSpecialMember, which is inappropriate.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131143 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/Sema.h
lib/Sema/SemaAccess.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclCXX.cpp
test/CXX/class.access/p4.cpp
test/SemaCXX/implicit-member-functions.cpp