Diff Detail
Event Timeline
I added this code before C++11 migration. I wanted to explicitly default the copy ctor to document that it's a value type, rather than defaulting it implicitly. You can nuke both comments and uncomment the definition.
This change now disables the move constructor and move assignment. I think just removing the comment is better.
include/clang/AST/VTableBuilder.h | ||
---|---|---|
54 | Is this ctor used? It leaves Value uninitialized. Maybe we should delete it to ensure that it isn't called, or use a default member initializer for Value below. |
include/clang/AST/VTableBuilder.h | ||
---|---|---|
54 | it is required, f.e.: VTableComponents(new VTableComponent[NumVTableComponents]), |
Hi Piotr,
Would you mind renaming the title of the Patch since the title will be
committed as such?
Thanks!
Is this ctor used? It leaves Value uninitialized. Maybe we should delete it to ensure that it isn't called, or use a default member initializer for Value below.