Skip to content

Commit cca4622

Browse files
joker-ephgithub-actions[bot]
authored andcommitted
Automerge: [MLIR] Apply clang-tidy fixes for readability-container-size-empty in LLVMDialect.cpp (NFC)
2 parents 0bed17a + 833f55f commit cca4622

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1367,7 +1367,7 @@ static ParseResult parseCallTypeAndResolveOperands(
13671367
if (parser.resolveOperands(operands, types, parser.getNameLoc(),
13681368
result.operands))
13691369
return failure();
1370-
if (resTypes.size() != 0)
1370+
if (!resTypes.empty())
13711371
result.addTypes(resTypes);
13721372

13731373
return success();

0 commit comments

Comments
 (0)