Avoid unused variable warning.

--

PiperOrigin-RevId: 250109802
This commit is contained in:
Jacques Pienaar 2019-05-27 00:51:27 -07:00 committed by Mehdi Amini
parent be9b20ff57
commit a945ec86e0
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ def LLVM_VoidResultTypeOpBuilder : OpBuilder<
"Builder *builder, OperationState *result, Type resultType, "
"ArrayRef<Value *> operands, ArrayRef<NamedAttribute> attributes = {}",
[{
auto llvmType = resultType.dyn_cast<LLVM::LLVMType>();
auto llvmType = resultType.dyn_cast<LLVM::LLVMType>(); (void)llvmType;
assert(llvmType && "result must be an LLVM type");
assert(llvmType.getUnderlyingType() &&
llvmType.getUnderlyingType()->isVoidTy() &&