Skip to content

Commit 0a7facc

Browse files
committed
80 chars limit
1 parent 0d1cf57 commit 0a7facc

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

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

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -689,8 +689,8 @@ def CIR_StructType : CIR_Type<"Struct", "struct",
689689
"RecordKind":$kind
690690
), [{
691691
return $_get($_ctxt, /*members=*/llvm::ArrayRef<Type>{}, name,
692-
/*incomplete=*/true, /*packed=*/false, /*padded=*/false,
693-
kind,
692+
/*incomplete=*/true, /*packed=*/false,
693+
/*padded=*/false, kind,
694694
/*ast=*/ASTRecordDeclInterface{});
695695
}]>,
696696

@@ -702,8 +702,8 @@ def CIR_StructType : CIR_Type<"Struct", "struct",
702702
"RecordKind":$kind,
703703
CArg<"ASTRecordDeclInterface", "{}">:$ast
704704
), [{
705-
return $_get($_ctxt, members, mlir::StringAttr{}, /*incomplete=*/false, packed,
706-
padded, kind, ast);
705+
return $_get($_ctxt, members, mlir::StringAttr{}, /*incomplete=*/false,
706+
packed, padded, kind, ast);
707707
}]>];
708708

709709
let extraClassDeclaration = [{
@@ -736,8 +736,8 @@ def CIR_StructType : CIR_Type<"Struct", "struct",
736736
return getKindAsStr() + "." + getName().getValue().str();
737737
}
738738

739-
void complete(llvm::ArrayRef<mlir::Type> members, bool packed, bool isPadded,
740-
ASTRecordDeclInterface ast = {});
739+
void complete(llvm::ArrayRef<mlir::Type> members, bool packed,
740+
bool isPadded, ASTRecordDeclInterface ast = {});
741741

742742
uint64_t getElementOffset(const mlir::DataLayout &dataLayout,
743743
unsigned idx) const;
@@ -757,8 +757,10 @@ def CIR_StructType : CIR_Type<"Struct", "struct",
757757
let hasCustomAssemblyFormat = 1;
758758
}
759759

760-
// Note CIRStructType is used instead of CIR_StructType because of tablegen conflicts
761-
def CIRStructType : Type<CPred<"::mlir::isa<::cir::StructType>($_self)">, "CIR struct type">;
760+
// Note CIRStructType is used instead of CIR_StructType
761+
// because of tablegen conflicts.
762+
def CIRStructType : Type<
763+
CPred<"::mlir::isa<::cir::StructType>($_self)">, "CIR struct type">;
762764

763765
//===----------------------------------------------------------------------===//
764766
// Global type constraints

0 commit comments

Comments
 (0)