[PATCH] D11928: Small fixup
Piotr Padlewski via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 11 14:27:10 PDT 2015
Prazek updated this revision to Diff 31863.
http://reviews.llvm.org/D11928
Files:
include/clang/AST/VTableBuilder.h
Index: include/clang/AST/VTableBuilder.h
===================================================================
--- include/clang/AST/VTableBuilder.h
+++ include/clang/AST/VTableBuilder.h
@@ -51,7 +51,7 @@
CK_UnusedFunctionPointer
};
- VTableComponent() { }
+ VTableComponent() = default;
static VTableComponent MakeVCallOffset(CharUnits Offset) {
return VTableComponent(CK_VCallOffset, Offset);
@@ -384,10 +384,7 @@
VPtrInfo(const CXXRecordDecl *RD)
: ReusingBase(RD), BaseWithVPtr(RD), NextBaseToMangle(RD) {}
- // Copy constructor.
- // FIXME: Uncomment when we've moved to C++11.
- // VPtrInfo(const VPtrInfo &) = default;
-
+ VPtrInfo(const VPtrInfo &) = default;
/// The vtable will hold all of the virtual bases or virtual methods of
/// ReusingBase. This may or may not be the same class as VPtrSubobject.Base.
/// A derived class will reuse the vptr of the first non-virtual base
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11928.31863.patch
Type: text/x-patch
Size: 934 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150811/08e6111c/attachment.bin>
More information about the cfe-commits
mailing list