Skip to content

Commit

Permalink
[NFC][HW] Clang-tidy on the last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
teqdruid committed Feb 24, 2023
1 parent 6b0d2df commit 1027dfc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/Dialect/HW/HWOps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2311,13 +2311,14 @@ void StructExplodeOp::getAsmResultNames(
setNameFn(res, field.name.str());
}

void StructExplodeOp::build(OpBuilder &b, OperationState &state, Value input) {
void StructExplodeOp::build(OpBuilder &odsBuilder, OperationState &odsState,
Value input) {
StructType inputType = input.getType().dyn_cast<StructType>();
assert(inputType);
SmallVector<Type, 16> fieldTypes;
for (auto field : inputType.getElements())
fieldTypes.push_back(field.type);
build(b, state, fieldTypes, input);
build(odsBuilder, odsState, fieldTypes, input);
}

//===----------------------------------------------------------------------===//
Expand Down

0 comments on commit 1027dfc

Please sign in to comment.