Skip to content

Commit 3259c1a

Browse files
committed
Fix formatting
1 parent ca8c49f commit 3259c1a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ struct RecordTypeStorage : public mlir::TypeStorage {
5454
RecordType::RecordKind kind)
5555
: members(members), name(name), incomplete(incomplete), packed(packed),
5656
padded(padded), kind(kind) {
57-
assert(name || !incomplete && "Incomplete records must have a name");
58-
}
57+
assert(name || !incomplete && "Incomplete records must have a name");
58+
}
5959

6060
KeyTy getAsKey() const {
6161
return KeyTy(members, name, incomplete, packed, padded, kind);

clang/lib/CIR/CodeGen/CIRGenDecl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ void CIRGenFunction::emitExprAsInit(const Expr *init, const ValueDecl *d,
260260

261261
void CIRGenFunction::emitDecl(const Decl &d) {
262262
switch (d.getKind()) {
263-
case Decl::Record: // struct/union/class X;
263+
case Decl::Record: // struct/union/class X;
264264
assert(!cir::MissingFeatures::generateDebugInfo());
265265
return;
266266
case Decl::Var: {

0 commit comments

Comments
 (0)