File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1716,12 +1716,12 @@ llvm::Function *CGOpenMPRuntime::emitThreadPrivateVarDefinition(
17161716 // Copying constructor for the threadprivate variable.
17171717 // Must be NULL - reserved by runtime, but currently it requires that this
17181718 // parameter is always NULL. Otherwise it fires assertion.
1719- CopyCtor = llvm::Constant::getNullValue(CGM.VoidPtrTy );
1719+ CopyCtor = llvm::Constant::getNullValue(CGM.UnqualPtrTy );
17201720 if (Ctor == nullptr) {
1721- Ctor = llvm::Constant::getNullValue(CGM.VoidPtrTy );
1721+ Ctor = llvm::Constant::getNullValue(CGM.UnqualPtrTy );
17221722 }
17231723 if (Dtor == nullptr) {
1724- Dtor = llvm::Constant::getNullValue(CGM.VoidPtrTy );
1724+ Dtor = llvm::Constant::getNullValue(CGM.UnqualPtrTy );
17251725 }
17261726 if (!CGF) {
17271727 auto *InitFunctionTy =
You can’t perform that action at this time.
0 commit comments