We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c40133 commit 4db8b64Copy full SHA for 4db8b64
clang/lib/AST/ByteCode/Descriptor.cpp
@@ -473,9 +473,7 @@ bool Descriptor::hasTrivialDtor() const {
473
bool Descriptor::isUnion() const { return isRecord() && ElemRecord->isUnion(); }
474
475
InitMap::InitMap(unsigned N)
476
- : UninitFields(N), Data(std::make_unique<T[]>(numFields(N))) {
477
- std::fill_n(data(), numFields(N), 0);
478
-}
+ : UninitFields(N), Data(std::make_unique<T[]>(numFields(N))) {}
479
480
bool InitMap::initializeElement(unsigned I) {
481
unsigned Bucket = I / PER_FIELD;
0 commit comments