Skip to content

Commit 4ea4340

Browse files
paulb777wilhuff
andauthored
Upgrade clang-format (#5265)
Co-authored-by: Marek Gilbert <[email protected]>
1 parent 7593515 commit 4ea4340

File tree

66 files changed

+113
-97
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+113
-97
lines changed

.clang-format

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ ObjCSpaceBeforeProtocolList: true
66
SpacesInContainerLiterals: true
77
PointerAlignment: Right
88
AllowShortFunctionsOnASingleLine: None
9+
IncludeBlocks: Preserve

Crashlytics/Crashlytics/Components/FIRCLSBinaryImage.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414

1515
#pragma once
1616

17+
#include <stdbool.h>
18+
#include <stdint.h>
19+
1720
#include "FIRCLSFeatures.h"
1821
#include "FIRCLSFile.h"
1922
#include "FIRCLSMachO.h"
2023

21-
#include <stdbool.h>
22-
#include <stdint.h>
23-
2424
__BEGIN_DECLS
2525

2626
// Typically, apps seem to have ~300 binary images loaded

Crashlytics/Crashlytics/Components/FIRCLSHost.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414

1515
#pragma once
1616

17-
#include "FIRCLSFile.h"
18-
1917
#include <mach/vm_types.h>
2018
#include <sys/cdefs.h>
2119

20+
#include "FIRCLSFile.h"
21+
2222
typedef struct {
2323
const char* documentDirectoryPath;
2424
vm_size_t pageSize;

Crashlytics/Crashlytics/Components/FIRCLSProcess.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414

1515
#pragma once
1616

17-
#include "FIRCLSFile.h"
18-
1917
#include <mach/mach.h>
2018
#include <stdbool.h>
2119

20+
#include "FIRCLSFile.h"
21+
2222
typedef struct {
2323
// task info
2424
mach_port_t task;

Crashlytics/Crashlytics/Handlers/FIRCLSHandler.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414

1515
#pragma once
1616

17-
#include "FIRCLSFile.h"
18-
1917
#include <mach/mach.h>
2018

19+
#include "FIRCLSFile.h"
20+
2121
__BEGIN_DECLS
2222

2323
void FIRCLSHandler(FIRCLSFile* file, thread_t crashedThread, void* uapVoid);

Crashlytics/Crashlytics/Unwind/Compact/FIRCLSCompactUnwind.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414

1515
#pragma once
1616

17-
#include "FIRCLSFeatures.h"
18-
#include "FIRCLSThreadState.h"
19-
2017
#include <stdbool.h>
2118
#include <stdint.h>
2219

20+
#include "FIRCLSFeatures.h"
21+
#include "FIRCLSThreadState.h"
22+
2323
// We have to pack the arrays defined in this header, so
2424
// we can reason about pointer math.
2525
#pragma pack(push)

Crashlytics/Crashlytics/Unwind/Dwarf/FIRCLSDataParsing.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414

1515
#pragma once
1616

17-
#include "FIRCLSFeatures.h"
18-
1917
#include <stdint.h>
2018

19+
#include "FIRCLSFeatures.h"
20+
2121
#if CLS_DWARF_UNWINDING_SUPPORTED
2222

2323
#if CLS_CPU_64BIT

Crashlytics/Crashlytics/Unwind/Dwarf/FIRCLSDwarfUnwind.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414

1515
#pragma once
1616

17-
#include "FIRCLSDwarfUnwindRegisters.h"
18-
#include "FIRCLSThreadState.h"
19-
2017
#include <stdbool.h>
2118
#include <stdint.h>
2219
#include <sys/types.h>
2320

21+
#include "FIRCLSDwarfUnwindRegisters.h"
22+
#include "FIRCLSThreadState.h"
23+
2424
#if CLS_DWARF_UNWINDING_SUPPORTED
2525

2626
#pragma mark Structures

Crashlytics/Crashlytics/Unwind/FIRCLSUnwind.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
#if CLS_COMPACT_UNWINDING_SUPPORTED
2020
#include "FIRCLSCompactUnwind.h"
2121
#endif
22-
#include "FIRCLSUnwind_arch.h"
23-
2422
#include <mach/vm_types.h>
2523
#include <stdbool.h>
2624

25+
#include "FIRCLSUnwind_arch.h"
26+
2727
extern const uint32_t FIRCLSUnwindMaxFrames;
2828

2929
extern const uint32_t FIRCLSUnwindInfiniteRecursionCountThreshold;

Crashlytics/Crashlytics/Unwind/FIRCLSUnwind_arch.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
#pragma once
1616

1717
#include "FIRCLSFeatures.h"
18-
1918
#include "FIRCLSThreadState.h"
2019
#if CLS_COMPACT_UNWINDING_SUPPORTED
2120
#include "FIRCLSCompactUnwind.h"

0 commit comments

Comments
 (0)