[OpenMPIRBuilderTest] Remove unused variable (NFC)
authorNikita Popov <npopov@redhat.com>
Tue, 18 Jul 2023 09:31:09 +0000 (11:31 +0200)
committerNikita Popov <npopov@redhat.com>
Tue, 18 Jul 2023 09:31:41 +0000 (11:31 +0200)
llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

index 389b379..b15b30a 100644 (file)
@@ -1128,8 +1128,6 @@ TEST_F(OpenMPIRBuilderTest, ParallelForwardAsPointers) {
   Type *I32PtrTy = Type::getInt32PtrTy(M->getContext());
   Type *StructTy = StructType::get(I32Ty, I32PtrTy);
   Type *StructPtrTy = StructTy->getPointerTo();
-  StructType *ArgStructTy =
-      StructType::get(I32PtrTy, StructPtrTy, I32PtrTy, StructPtrTy);
   Type *VoidTy = Type::getVoidTy(M->getContext());
   FunctionCallee RetI32Func = M->getOrInsertFunction("ret_i32", I32Ty);
   FunctionCallee TakeI32Func =