forked from OSchip/llvm-project
parent
2a81f6670d
commit
958b94d679
|
@ -1455,7 +1455,7 @@ llvm::Constant *ConstantEmitter::tryEmitPrivateForVarInit(const VarDecl &D) {
|
||||||
if (CD->isTrivial() && CD->isDefaultConstructor())
|
if (CD->isTrivial() && CD->isDefaultConstructor())
|
||||||
return CGM.EmitNullConstant(D.getType());
|
return CGM.EmitNullConstant(D.getType());
|
||||||
}
|
}
|
||||||
InConstantContext = true;
|
InConstantContext = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
QualType destType = D.getType();
|
QualType destType = D.getType();
|
||||||
|
|
Loading…
Reference in New Issue