Whole-tree reformat

This follows discussions from #3413.
Followup commits add clang-format file, script and blame ignore lists.
This commit is contained in:
Paulo Matos committed 2024-04-12 16:26:02 +02:00
1 parent 028c220041
commit 2b4ec88dae
447 files changed
+78590 -73070

No files matched your search

+3 -3
View File
@@ -11,7 +11,7 @@ struct OpaqueType {
};
OpaqueType* MakeOpaqueType(uint32_t data) {
return new OpaqueType { data };
return new OpaqueType {data};
}
uint32_t ReadOpaqueTypeData(OpaqueType* value) {
@@ -23,7 +23,7 @@ void DestroyOpaqueType(OpaqueType* value) {
}
UnionType MakeUnionType(uint8_t a, uint8_t b, uint8_t c, uint8_t d) {
return UnionType { .c = { a, b, c, d } };
return UnionType {.c = {a, b, c, d}};
}
uint32_t GetUnionTypeA(UnionType* value) {
@@ -31,7 +31,7 @@ uint32_t GetUnionTypeA(UnionType* value) {
}
ReorderingType MakeReorderingType(uint32_t a, uint32_t b) {
return ReorderingType { .a = a, .b = b };
return ReorderingType {.a = a, .b = b};
}
uint32_t GetReorderingTypeMember(const ReorderingType* data, int index) {