Apply clang-tidy fixes for llvm-else-after-return in BuiltinDialectBytecode.cpp (NFC)

This commit is contained in:
Mehdi Amini 2023-10-20 09:37:12 -07:00
parent de2f5bcd79
commit b39958c2e8

View File

@ -33,7 +33,8 @@ namespace {
static unsigned getIntegerBitWidth(DialectBytecodeReader &reader, Type type) {
if (auto intType = dyn_cast<IntegerType>(type)) {
return intType.getWidth();
} else if (llvm::isa<IndexType>(type)) {
}
if (llvm::isa<IndexType>(type)) {
return IndexType::kInternalStorageBitWidth;
}
reader.emitError()