r186848 - Update comment to refer to core issue number.
Richard Smith
richard-llvm at metafoo.co.uk
Mon Jul 22 11:06:24 PDT 2013
Author: rsmith
Date: Mon Jul 22 13:06:23 2013
New Revision: 186848
URL: http://llvm.org/viewvc/llvm-project?rev=186848&view=rev
Log:
Update comment to refer to core issue number.
Modified:
cfe/trunk/lib/Sema/SemaDeclCXX.cpp
Modified: cfe/trunk/lib/Sema/SemaDeclCXX.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDeclCXX.cpp?rev=186848&r1=186847&r2=186848&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDeclCXX.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDeclCXX.cpp Mon Jul 22 13:06:23 2013
@@ -5076,10 +5076,8 @@ bool Sema::ShouldDeleteSpecialMember(CXX
SMI.shouldDeleteForBase(BI))
return true;
- // Defect report (no number yet): do not consider virtual bases of
- // constructors of abstract classes, since we are not going to construct
- // them. This is an extension of DR257 into the C++11 behavior for special
- // members.
+ // Per DR1611, do not consider virtual bases of constructors of abstract
+ // classes, since we are not going to construct them.
if (!RD->isAbstract() || !SMI.IsConstructor) {
for (CXXRecordDecl::base_class_iterator BI = RD->vbases_begin(),
BE = RD->vbases_end();
More information about the cfe-commits
mailing list