Skip to content

Commit d5cd997

Browse files
committed
Clang-format
1 parent 5324428 commit d5cd997

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

clang/include/clang/CIR/Dialect/IR/CIRDataLayout.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ class CIRDataLayout {
9191

9292
mlir::Type getIntPtrType(mlir::Type ty) const {
9393
assert(mlir::isa<cir::PointerType>(ty) && "Expected pointer type");
94-
return cir::IntType::get(ty.getContext(), getPointerTypeSizeInBits(ty), false);
94+
return cir::IntType::get(ty.getContext(), getPointerTypeSizeInBits(ty),
95+
false);
9596
}
9697
};
9798

clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1904,7 +1904,8 @@ mlir::Value ScalarExprEmitter::VisitCastExpr(CastExpr *ce) {
19041904
src, middleTy);
19051905

19061906
if (cgf.cgm.getCodeGenOpts().StrictVTablePointers) {
1907-
cgf.cgm.errorNYI(subExpr->getSourceRange(), "IntegralToPointer: strict vtable pointers");
1907+
cgf.cgm.errorNYI(subExpr->getSourceRange(),
1908+
"IntegralToPointer: strict vtable pointers");
19081909
return {};
19091910
}
19101911

0 commit comments

Comments
 (0)