mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-24 04:16:08 +00:00
Apply clang-tidy fixes for llvm-else-after-return in BuiltinDialectBytecode.cpp (NFC)
This commit is contained in:
parent
de2f5bcd79
commit
b39958c2e8
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user