Skip to content

Commit c48a16c

Browse files
committed
Remove unnecessary BoolType custom assembly format
1 parent bbadebd commit c48a16c

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

clang/include/clang/CIR/Dialect/IR/CIRTypes.td

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,6 @@ def CIR_BoolType :
278278
let description = [{
279279
`cir.bool` represents C++ bool type.
280280
}];
281-
282-
let hasCustomAssemblyFormat = 1;
283281
}
284282

285283
//===----------------------------------------------------------------------===//

clang/lib/CIR/Dialect/IR/CIRTypes.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -385,12 +385,6 @@ bool FuncType::isVoid() const { return mlir::isa<VoidType>(getReturnType()); }
385385
// BoolType
386386
//===----------------------------------------------------------------------===//
387387

388-
Type BoolType::parse(mlir::AsmParser &parser) {
389-
return get(parser.getContext());
390-
}
391-
392-
void BoolType::print(mlir::AsmPrinter &printer) const {}
393-
394388
llvm::TypeSize
395389
BoolType::getTypeSizeInBits(const ::mlir::DataLayout &dataLayout,
396390
::mlir::DataLayoutEntryListRef params) const {

0 commit comments

Comments
 (0)