From 55eed0708b0202ba178601b783b3650ef5fcdb24 Mon Sep 17 00:00:00 2001 From: Philipp Hofmann Date: Tue, 17 Dec 2024 16:18:35 +0100 Subject: [PATCH] ref: One class forward declaration per line Change all class forward declarations to one per line. --- Sources/Sentry/Public/SentryClient.h | 9 +++++++-- Sources/Sentry/Public/SentryDebugImageProvider.h | 4 +++- Sources/Sentry/Public/SentryEvent.h | 12 ++++++++++-- Sources/Sentry/Public/SentryException.h | 3 ++- Sources/Sentry/Public/SentryHub.h | 10 ++++++++-- Sources/Sentry/Public/SentryMechanism.h | 3 ++- Sources/Sentry/Public/SentryOptions.h | 7 +++++-- Sources/Sentry/Public/SentrySDK.h | 12 +++++++++--- Sources/Sentry/Public/SentryScope.h | 5 ++++- Sources/Sentry/Public/SentrySpanContext.h | 3 ++- Sources/Sentry/Public/SentrySpanProtocol.h | 6 +++++- Sources/Sentry/Public/SentryTraceContext.h | 6 +++++- Sources/Sentry/Public/SentryTraceHeader.h | 3 ++- Sources/Sentry/include/SentryAppStateManager.h | 8 ++++++-- Sources/Sentry/include/SentryClient+Private.h | 11 ++++++++--- Sources/Sentry/include/SentryCoreDataTracker.h | 3 ++- .../Sentry/include/SentryCrashInstallationReporter.h | 4 +++- Sources/Sentry/include/SentryCrashIntegration.h | 3 ++- Sources/Sentry/include/SentryCrashReportConverter.h | 3 ++- Sources/Sentry/include/SentryCrashReportSink.h | 4 +++- Sources/Sentry/include/SentryCrashStackEntryMapper.h | 3 ++- Sources/Sentry/include/SentryEnvelopeRateLimit.h | 3 ++- Sources/Sentry/include/SentryHttpTransport.h | 4 +++- Sources/Sentry/include/SentryNSDataTracker.h | 3 ++- Sources/Sentry/include/SentryNSURLRequest.h | 3 ++- Sources/Sentry/include/SentryNSURLRequestBuilder.h | 3 ++- .../Sentry/include/SentryProfiledTracerConcurrency.h | 3 ++- Sources/Sentry/include/SentrySerialization.h | 5 ++++- Sources/Sentry/include/SentrySessionCrashedHandler.h | 4 +++- Sources/Sentry/include/SentrySessionTracker.h | 5 ++++- Sources/Sentry/include/SentrySpan.h | 6 +++++- Sources/Sentry/include/SentrySpotlightTransport.h | 4 +++- Sources/Sentry/include/SentryStacktraceBuilder.h | 4 +++- Sources/Sentry/include/SentrySubClassFinder.h | 3 ++- Sources/Sentry/include/SentryThreadInspector.h | 5 ++++- Sources/Sentry/include/SentryTransportAdapter.h | 10 ++++++++-- Sources/Sentry/include/SentryTransportFactory.h | 3 ++- .../Sentry/include/SentryUIViewControllerSwizzling.h | 7 +++++-- .../Sentry/include/SentryWatchdogTerminationLogic.h | 6 +++++- .../include/SentryWatchdogTerminationTracker.h | 7 +++++-- .../SentryAutoBreadcrumbTrackingIntegration+Test.h | 4 +++- 41 files changed, 161 insertions(+), 53 deletions(-) diff --git a/Sources/Sentry/Public/SentryClient.h b/Sources/Sentry/Public/SentryClient.h index da96080b156..0a4cf502ef0 100644 --- a/Sources/Sentry/Public/SentryClient.h +++ b/Sources/Sentry/Public/SentryClient.h @@ -4,8 +4,13 @@ # import #endif -@class SentryOptions, SentryEvent, SentryScope, SentryFileManager, SentryId, SentryUserFeedback, - SentryTransaction; +@class SentryEvent; +@class SentryFileManager; +@class SentryId; +@class SentryOptions; +@class SentryScope; +@class SentryTransaction; +@class SentryUserFeedback; NS_ASSUME_NONNULL_BEGIN diff --git a/Sources/Sentry/Public/SentryDebugImageProvider.h b/Sources/Sentry/Public/SentryDebugImageProvider.h index e5c23647020..552ef8bd0d0 100644 --- a/Sources/Sentry/Public/SentryDebugImageProvider.h +++ b/Sources/Sentry/Public/SentryDebugImageProvider.h @@ -1,6 +1,8 @@ #import -@class SentryDebugMeta, SentryThread, SentryFrame; +@class SentryDebugMeta; +@class SentryFrame; +@class SentryThread; NS_ASSUME_NONNULL_BEGIN diff --git a/Sources/Sentry/Public/SentryEvent.h b/Sources/Sentry/Public/SentryEvent.h index b2156a9c930..183fe7ed903 100644 --- a/Sources/Sentry/Public/SentryEvent.h +++ b/Sources/Sentry/Public/SentryEvent.h @@ -10,8 +10,16 @@ NS_ASSUME_NONNULL_BEGIN -@class SentryThread, SentryException, SentryStacktrace, SentryUser, SentryDebugMeta, SentryContext, - SentryBreadcrumb, SentryId, SentryMessage, SentryRequest; +@class SentryBreadcrumb; +@class SentryContext; +@class SentryDebugMeta; +@class SentryException; +@class SentryId; +@class SentryMessage; +@class SentryRequest; +@class SentryStacktrace; +@class SentryThread; +@class SentryUser; NS_SWIFT_NAME(Event) @interface SentryEvent : NSObject diff --git a/Sources/Sentry/Public/SentryException.h b/Sources/Sentry/Public/SentryException.h index 4416ce5843d..dd786c567a0 100644 --- a/Sources/Sentry/Public/SentryException.h +++ b/Sources/Sentry/Public/SentryException.h @@ -10,7 +10,8 @@ NS_ASSUME_NONNULL_BEGIN -@class SentryStacktrace, SentryMechanism; +@class SentryMechanism; +@class SentryStacktrace; NS_SWIFT_NAME(Exception) @interface SentryException : NSObject diff --git a/Sources/Sentry/Public/SentryHub.h b/Sources/Sentry/Public/SentryHub.h index 2f0bc5cbb22..b11d87ebb0a 100644 --- a/Sources/Sentry/Public/SentryHub.h +++ b/Sources/Sentry/Public/SentryHub.h @@ -7,9 +7,15 @@ # import #endif -@class SentryEvent, SentryClient, SentryScope, SentryUser, SentryBreadcrumb, SentryId, - SentryUserFeedback, SentryTransactionContext; +@class SentryBreadcrumb; +@class SentryClient; +@class SentryEvent; +@class SentryId; @class SentryMetricsAPI; +@class SentryScope; +@class SentryTransactionContext; +@class SentryUser; +@class SentryUserFeedback; NS_ASSUME_NONNULL_BEGIN @interface SentryHub : NSObject diff --git a/Sources/Sentry/Public/SentryMechanism.h b/Sources/Sentry/Public/SentryMechanism.h index 1662e57fb3c..77bdc84708c 100644 --- a/Sources/Sentry/Public/SentryMechanism.h +++ b/Sources/Sentry/Public/SentryMechanism.h @@ -10,7 +10,8 @@ NS_ASSUME_NONNULL_BEGIN -@class SentryNSError, SentryMechanismMeta; +@class SentryNSError; +@class SentryMechanismMeta; NS_SWIFT_NAME(Mechanism) @interface SentryMechanism : NSObject diff --git a/Sources/Sentry/Public/SentryOptions.h b/Sources/Sentry/Public/SentryOptions.h index 2f29876e74a..2f06444157f 100644 --- a/Sources/Sentry/Public/SentryOptions.h +++ b/Sources/Sentry/Public/SentryOptions.h @@ -8,9 +8,12 @@ NS_ASSUME_NONNULL_BEGIN -@class SentryDsn, SentryMeasurementValue, SentryHttpStatusCodeRange, SentryScope, - SentryReplayOptions; +@class SentryDsn; @class SentryExperimentalOptions; +@class SentryHttpStatusCodeRange; +@class SentryMeasurementValue; +@class SentryReplayOptions; +@class SentryScope; NS_SWIFT_NAME(Options) @interface SentryOptions : NSObject diff --git a/Sources/Sentry/Public/SentrySDK.h b/Sources/Sentry/Public/SentrySDK.h index 35f9eb15766..a7f8295417a 100644 --- a/Sources/Sentry/Public/SentrySDK.h +++ b/Sources/Sentry/Public/SentrySDK.h @@ -6,11 +6,17 @@ @protocol SentrySpan; -@class SentryOptions, SentryEvent, SentryBreadcrumb, SentryScope, SentryUser, SentryId, - SentryUserFeedback, SentryTransactionContext; +@class SentryBreadcrumb; +@class SentryEvent; +@class SentryId; @class SentryMetricsAPI; -@class UIView; +@class SentryOptions; @class SentryReplayApi; +@class SentryScope; +@class SentryTransactionContext; +@class SentryUser; +@class SentryUserFeedback; +@class UIView; NS_ASSUME_NONNULL_BEGIN diff --git a/Sources/Sentry/Public/SentryScope.h b/Sources/Sentry/Public/SentryScope.h index 1da98b3425b..0a2a4fb3fa9 100644 --- a/Sources/Sentry/Public/SentryScope.h +++ b/Sources/Sentry/Public/SentryScope.h @@ -8,7 +8,10 @@ # import #endif -@class SentryUser, SentryOptions, SentryBreadcrumb, SentryAttachment; +@class SentryAttachment; +@class SentryBreadcrumb; +@class SentryOptions; +@class SentryUser; NS_ASSUME_NONNULL_BEGIN diff --git a/Sources/Sentry/Public/SentrySpanContext.h b/Sources/Sentry/Public/SentrySpanContext.h index 159c1552a36..6c112743cda 100644 --- a/Sources/Sentry/Public/SentrySpanContext.h +++ b/Sources/Sentry/Public/SentrySpanContext.h @@ -13,7 +13,8 @@ NS_ASSUME_NONNULL_BEGIN -@class SentryId, SentrySpanId; +@class SentryId; +@class SentrySpanId; static NSString const *SENTRY_TRACE_TYPE = @"trace"; diff --git a/Sources/Sentry/Public/SentrySpanProtocol.h b/Sources/Sentry/Public/SentrySpanProtocol.h index 51df53320fd..eb9e09d16e3 100644 --- a/Sources/Sentry/Public/SentrySpanProtocol.h +++ b/Sources/Sentry/Public/SentrySpanProtocol.h @@ -10,7 +10,11 @@ NS_ASSUME_NONNULL_BEGIN -@class SentrySpanId, SentryId, SentryTraceHeader, SentryMeasurementUnit, SentryTraceContext; +@class SentryId; +@class SentryMeasurementUnit; +@class SentrySpanId; +@class SentryTraceContext; +@class SentryTraceHeader; NS_SWIFT_NAME(Span) @protocol SentrySpan diff --git a/Sources/Sentry/Public/SentryTraceContext.h b/Sources/Sentry/Public/SentryTraceContext.h index 0d41a6d233e..afb939b84a3 100644 --- a/Sources/Sentry/Public/SentryTraceContext.h +++ b/Sources/Sentry/Public/SentryTraceContext.h @@ -6,8 +6,12 @@ NS_ASSUME_NONNULL_BEGIN -@class SentryScope, SentryOptions, SentryTracer, SentryUser, SentryBaggage; +@class SentryBaggage; @class SentryId; +@class SentryOptions; +@class SentryScope; +@class SentryTracer; +@class SentryUser; NS_SWIFT_NAME(TraceContext) @interface SentryTraceContext : NSObject diff --git a/Sources/Sentry/Public/SentryTraceHeader.h b/Sources/Sentry/Public/SentryTraceHeader.h index 5cb9a26897e..d852c43c65b 100644 --- a/Sources/Sentry/Public/SentryTraceHeader.h +++ b/Sources/Sentry/Public/SentryTraceHeader.h @@ -6,7 +6,8 @@ # import #endif -@class SentryId, SentrySpanId; +@class SentryId; +@class SentrySpanId; NS_ASSUME_NONNULL_BEGIN diff --git a/Sources/Sentry/include/SentryAppStateManager.h b/Sources/Sentry/include/SentryAppStateManager.h index 21963905094..dcb2e459e22 100644 --- a/Sources/Sentry/include/SentryAppStateManager.h +++ b/Sources/Sentry/include/SentryAppStateManager.h @@ -1,7 +1,11 @@ #import "SentryDefines.h" -@class SentryOptions, SentryCrashWrapper, SentryAppState, SentryFileManager, - SentryDispatchQueueWrapper, SentryNSNotificationCenterWrapper; +@class SentryAppState; +@class SentryCrashWrapper; +@class SentryDispatchQueueWrapper; +@class SentryFileManager; +@class SentryNSNotificationCenterWrapper; +@class SentryOptions; NS_ASSUME_NONNULL_BEGIN diff --git a/Sources/Sentry/include/SentryClient+Private.h b/Sources/Sentry/include/SentryClient+Private.h index e554b751f8e..7e70ab22974 100644 --- a/Sources/Sentry/include/SentryClient+Private.h +++ b/Sources/Sentry/include/SentryClient+Private.h @@ -1,9 +1,14 @@ #import "SentryClient.h" #import "SentryDataCategory.h" #import "SentryDiscardReason.h" - -@class SentrySession, SentryEnvelopeItem, SentryId, SentryAttachment, SentryThreadInspector, - SentryReplayEvent, SentryReplayRecording, SentryEnvelope; +@class SentryAttachment; +@class SentryEnvelope; +@class SentryEnvelopeItem; +@class SentryId; +@class SentryReplayEvent; +@class SentryReplayRecording; +@class SentrySession; +@class SentryThreadInspector; NS_ASSUME_NONNULL_BEGIN diff --git a/Sources/Sentry/include/SentryCoreDataTracker.h b/Sources/Sentry/include/SentryCoreDataTracker.h index 4f30a205c08..8e6961ffc19 100644 --- a/Sources/Sentry/include/SentryCoreDataTracker.h +++ b/Sources/Sentry/include/SentryCoreDataTracker.h @@ -6,7 +6,8 @@ NS_ASSUME_NONNULL_BEGIN static NSString *const SENTRY_COREDATA_FETCH_OPERATION = @"db.sql.query"; static NSString *const SENTRY_COREDATA_SAVE_OPERATION = @"db.sql.transaction"; -@class SentryThreadInspector, SentryNSProcessInfoWrapper; +@class SentryNSProcessInfoWrapper; +@class SentryThreadInspector; @interface SentryCoreDataTracker : NSObject SENTRY_NO_INIT diff --git a/Sources/Sentry/include/SentryCrashInstallationReporter.h b/Sources/Sentry/include/SentryCrashInstallationReporter.h index fb36e9c7e8c..f4521720af0 100644 --- a/Sources/Sentry/include/SentryCrashInstallationReporter.h +++ b/Sources/Sentry/include/SentryCrashInstallationReporter.h @@ -3,7 +3,9 @@ #import "SentryDefines.h" #import -@class SentryInAppLogic, SentryCrashWrapper, SentryDispatchQueueWrapper; +@class SentryCrashWrapper; +@class SentryDispatchQueueWrapper; +@class SentryInAppLogic; NS_ASSUME_NONNULL_BEGIN diff --git a/Sources/Sentry/include/SentryCrashIntegration.h b/Sources/Sentry/include/SentryCrashIntegration.h index 5f593d0a452..54910047aa9 100644 --- a/Sources/Sentry/include/SentryCrashIntegration.h +++ b/Sources/Sentry/include/SentryCrashIntegration.h @@ -4,7 +4,8 @@ NS_ASSUME_NONNULL_BEGIN -@class SentryScope, SentryCrashWrapper; +@class SentryCrashWrapper; +@class SentryScope; static NSString *const SentryDeviceContextFreeMemoryKey = @"free_memory"; static NSString *const SentryDeviceContextAppMemoryKey = @"app_memory"; diff --git a/Sources/Sentry/include/SentryCrashReportConverter.h b/Sources/Sentry/include/SentryCrashReportConverter.h index a68a339ab40..3792120e75b 100644 --- a/Sources/Sentry/include/SentryCrashReportConverter.h +++ b/Sources/Sentry/include/SentryCrashReportConverter.h @@ -1,6 +1,7 @@ #import -@class SentryEvent, SentryInAppLogic; +@class SentryEvent; +@class SentryInAppLogic; NS_ASSUME_NONNULL_BEGIN diff --git a/Sources/Sentry/include/SentryCrashReportSink.h b/Sources/Sentry/include/SentryCrashReportSink.h index aba12fb9ac4..a9282fea104 100644 --- a/Sources/Sentry/include/SentryCrashReportSink.h +++ b/Sources/Sentry/include/SentryCrashReportSink.h @@ -2,7 +2,9 @@ #import "SentryDefines.h" #import -@class SentryInAppLogic, SentryCrashWrapper, SentryDispatchQueueWrapper; +@class SentryCrashWrapper; +@class SentryDispatchQueueWrapper; +@class SentryInAppLogic; NS_ASSUME_NONNULL_BEGIN diff --git a/Sources/Sentry/include/SentryCrashStackEntryMapper.h b/Sources/Sentry/include/SentryCrashStackEntryMapper.h index f7679c97b4b..45d5fed6379 100644 --- a/Sources/Sentry/include/SentryCrashStackEntryMapper.h +++ b/Sources/Sentry/include/SentryCrashStackEntryMapper.h @@ -3,7 +3,8 @@ #import "SentryDefines.h" #import -@class SentryFrame, SentryInAppLogic; +@class SentryFrame; +@class SentryInAppLogic; NS_ASSUME_NONNULL_BEGIN diff --git a/Sources/Sentry/include/SentryEnvelopeRateLimit.h b/Sources/Sentry/include/SentryEnvelopeRateLimit.h index 283892427d5..5226909d970 100644 --- a/Sources/Sentry/include/SentryEnvelopeRateLimit.h +++ b/Sources/Sentry/include/SentryEnvelopeRateLimit.h @@ -3,7 +3,8 @@ @protocol SentryEnvelopeRateLimitDelegate; -@class SentryEnvelope, SentryEnvelopeItem; +@class SentryEnvelope; +@class SentryEnvelopeItem; NS_ASSUME_NONNULL_BEGIN diff --git a/Sources/Sentry/include/SentryHttpTransport.h b/Sources/Sentry/include/SentryHttpTransport.h index 5636da85b68..ce4d30d9e88 100644 --- a/Sources/Sentry/include/SentryHttpTransport.h +++ b/Sources/Sentry/include/SentryHttpTransport.h @@ -6,7 +6,9 @@ #import "SentryTransport.h" #import -@class SentryOptions, SentryDispatchQueueWrapper, SentryNSURLRequestBuilder; +@class SentryDispatchQueueWrapper; +@class SentryNSURLRequestBuilder; +@class SentryOptions; NS_ASSUME_NONNULL_BEGIN diff --git a/Sources/Sentry/include/SentryNSDataTracker.h b/Sources/Sentry/include/SentryNSDataTracker.h index 830b136c5fe..28294df366e 100644 --- a/Sources/Sentry/include/SentryNSDataTracker.h +++ b/Sources/Sentry/include/SentryNSDataTracker.h @@ -6,7 +6,8 @@ static NSString *const SENTRY_FILE_WRITE_OPERATION = @"file.write"; static NSString *const SENTRY_FILE_READ_OPERATION = @"file.read"; -@class SentryThreadInspector, SentryNSProcessInfoWrapper; +@class SentryNSProcessInfoWrapper; +@class SentryThreadInspector; @interface SentryNSDataTracker : NSObject SENTRY_NO_INIT diff --git a/Sources/Sentry/include/SentryNSURLRequest.h b/Sources/Sentry/include/SentryNSURLRequest.h index 5b6db8f50e3..7d881643976 100644 --- a/Sources/Sentry/include/SentryNSURLRequest.h +++ b/Sources/Sentry/include/SentryNSURLRequest.h @@ -2,7 +2,8 @@ NS_ASSUME_NONNULL_BEGIN -@class SentryDsn, SentryEvent; +@class SentryDsn; +@class SentryEvent; @interface SentryNSURLRequest : NSMutableURLRequest diff --git a/Sources/Sentry/include/SentryNSURLRequestBuilder.h b/Sources/Sentry/include/SentryNSURLRequestBuilder.h index 411358c7f93..98de37ba2b2 100644 --- a/Sources/Sentry/include/SentryNSURLRequestBuilder.h +++ b/Sources/Sentry/include/SentryNSURLRequestBuilder.h @@ -1,6 +1,7 @@ #import -@class SentryEnvelope, SentryDsn; +@class SentryDsn; +@class SentryEnvelope; NS_ASSUME_NONNULL_BEGIN diff --git a/Sources/Sentry/include/SentryProfiledTracerConcurrency.h b/Sources/Sentry/include/SentryProfiledTracerConcurrency.h index 6af9cedb369..91fa02fe311 100644 --- a/Sources/Sentry/include/SentryProfiledTracerConcurrency.h +++ b/Sources/Sentry/include/SentryProfiledTracerConcurrency.h @@ -2,7 +2,8 @@ #import "SentryProfilingConditionals.h" #import -@class SentryProfiler, SentryId; +@class SentryId; +@class SentryProfiler; #if SENTRY_TARGET_PROFILING_SUPPORTED diff --git a/Sources/Sentry/include/SentrySerialization.h b/Sources/Sentry/include/SentrySerialization.h index ba9b6753536..fce90e30595 100644 --- a/Sources/Sentry/include/SentrySerialization.h +++ b/Sources/Sentry/include/SentrySerialization.h @@ -1,6 +1,9 @@ #import "SentryDefines.h" -@class SentrySession, SentryEnvelope, SentryAppState, SentryReplayRecording; +@class SentryAppState; +@class SentryEnvelope; +@class SentryReplayRecording; +@class SentrySession; NS_ASSUME_NONNULL_BEGIN diff --git a/Sources/Sentry/include/SentrySessionCrashedHandler.h b/Sources/Sentry/include/SentrySessionCrashedHandler.h index d4cf1c34d80..c522b5893b5 100644 --- a/Sources/Sentry/include/SentrySessionCrashedHandler.h +++ b/Sources/Sentry/include/SentrySessionCrashedHandler.h @@ -1,7 +1,9 @@ #import "SentryDefines.h" #import -@class SentryCrashWrapper, SentryDispatchQueueWrapper; +@class SentryCrashWrapper; +@class SentryDispatchQueueWrapper; + #if SENTRY_HAS_UIKIT @class SentryWatchdogTerminationLogic; #endif // SENTRY_HAS_UIKIT diff --git a/Sources/Sentry/include/SentrySessionTracker.h b/Sources/Sentry/include/SentrySessionTracker.h index 1367abca215..47267637108 100644 --- a/Sources/Sentry/include/SentrySessionTracker.h +++ b/Sources/Sentry/include/SentrySessionTracker.h @@ -1,7 +1,10 @@ #import "SentryDefines.h" #import -@class SentryEvent, SentryOptions, SentryCurrentDateProvider, SentryNSNotificationCenterWrapper; +@class SentryCurrentDateProvider; +@class SentryEvent; +@class SentryNSNotificationCenterWrapper; +@class SentryOptions; /** * Tracks sessions for release health. For more info see: diff --git a/Sources/Sentry/include/SentrySpan.h b/Sources/Sentry/include/SentrySpan.h index acbc382ed96..7fd111eed5b 100644 --- a/Sources/Sentry/include/SentrySpan.h +++ b/Sources/Sentry/include/SentrySpan.h @@ -4,7 +4,11 @@ NS_ASSUME_NONNULL_BEGIN -@class SentryTracer, SentryId, SentrySpanId, SentryFrame, SentrySpanContext; +@class SentryFrame; +@class SentryId; +@class SentrySpanContext; +@class SentrySpanId; +@class SentryTracer; #if SENTRY_HAS_UIKIT @class SentryFramesTracker; diff --git a/Sources/Sentry/include/SentrySpotlightTransport.h b/Sources/Sentry/include/SentrySpotlightTransport.h index 37e5e2723f3..4cc93b34500 100644 --- a/Sources/Sentry/include/SentrySpotlightTransport.h +++ b/Sources/Sentry/include/SentrySpotlightTransport.h @@ -2,7 +2,9 @@ #import "SentryRequestManager.h" #import "SentryTransport.h" -@class SentryOptions, SentryDispatchQueueWrapper, SentryNSURLRequestBuilder; +@class SentryDispatchQueueWrapper; +@class SentryNSURLRequestBuilder; +@class SentryOptions; NS_ASSUME_NONNULL_BEGIN diff --git a/Sources/Sentry/include/SentryStacktraceBuilder.h b/Sources/Sentry/include/SentryStacktraceBuilder.h index 99f2670e751..3121111f2cb 100644 --- a/Sources/Sentry/include/SentryStacktraceBuilder.h +++ b/Sources/Sentry/include/SentryStacktraceBuilder.h @@ -4,7 +4,9 @@ #import "SentryDefines.h" #import -@class SentryStacktrace, SentryFrameRemover, SentryCrashStackEntryMapper; +@class SentryCrashStackEntryMapper; +@class SentryFrameRemover; +@class SentryStacktrace; NS_ASSUME_NONNULL_BEGIN diff --git a/Sources/Sentry/include/SentrySubClassFinder.h b/Sources/Sentry/include/SentrySubClassFinder.h index 842d1478f46..bb7071151db 100644 --- a/Sources/Sentry/include/SentrySubClassFinder.h +++ b/Sources/Sentry/include/SentrySubClassFinder.h @@ -4,7 +4,8 @@ NS_ASSUME_NONNULL_BEGIN -@class SentryDispatchQueueWrapper, SentryDefaultObjCRuntimeWrapper; +@class SentryDefaultObjCRuntimeWrapper; +@class SentryDispatchQueueWrapper; @interface SentrySubClassFinder : NSObject SENTRY_NO_INIT diff --git a/Sources/Sentry/include/SentryThreadInspector.h b/Sources/Sentry/include/SentryThreadInspector.h index 6611b39c37e..108398eacd6 100644 --- a/Sources/Sentry/include/SentryThreadInspector.h +++ b/Sources/Sentry/include/SentryThreadInspector.h @@ -2,7 +2,10 @@ #import "SentryDefines.h" #import -@class SentryThread, SentryStacktraceBuilder, SentryStacktrace, SentryOptions; +@class SentryOptions; +@class SentryStacktrace; +@class SentryStacktraceBuilder; +@class SentryThread; NS_ASSUME_NONNULL_BEGIN diff --git a/Sources/Sentry/include/SentryTransportAdapter.h b/Sources/Sentry/include/SentryTransportAdapter.h index 2182eb630f8..05a19f6d9a8 100644 --- a/Sources/Sentry/include/SentryTransportAdapter.h +++ b/Sources/Sentry/include/SentryTransportAdapter.h @@ -3,8 +3,14 @@ #import "SentryDiscardReason.h" #import "SentryTransport.h" -@class SentryEnvelope, SentryEnvelopeItem, SentryEvent, SentrySession, SentryUserFeedback, - SentryAttachment, SentryTraceContext, SentryOptions; +@class SentryAttachment; +@class SentryEnvelope; +@class SentryEnvelopeItem; +@class SentryEvent; +@class SentryOptions; +@class SentrySession; +@class SentryTraceContext; +@class SentryUserFeedback; NS_ASSUME_NONNULL_BEGIN diff --git a/Sources/Sentry/include/SentryTransportFactory.h b/Sources/Sentry/include/SentryTransportFactory.h index 7568630803e..926d44f203a 100644 --- a/Sources/Sentry/include/SentryTransportFactory.h +++ b/Sources/Sentry/include/SentryTransportFactory.h @@ -2,7 +2,8 @@ #import "SentryTransport.h" -@class SentryOptions, SentryFileManager; +@class SentryFileManager; +@class SentryOptions; @protocol SentryCurrentDateProvider; @protocol SentryRateLimits; diff --git a/Sources/Sentry/include/SentryUIViewControllerSwizzling.h b/Sources/Sentry/include/SentryUIViewControllerSwizzling.h index 510053f8b0f..0c43472352b 100644 --- a/Sources/Sentry/include/SentryUIViewControllerSwizzling.h +++ b/Sources/Sentry/include/SentryUIViewControllerSwizzling.h @@ -7,8 +7,11 @@ NS_ASSUME_NONNULL_BEGIN -@class SentryOptions, SentryDispatchQueueWrapper, SentrySubClassFinder, SentryNSProcessInfoWrapper, - SentryBinaryImageCache; +@class SentryBinaryImageCache; +@class SentryDispatchQueueWrapper; +@class SentryNSProcessInfoWrapper; +@class SentryOptions; +@class SentrySubClassFinder; /** * This is a protocol to define which properties and methods the swizzler required from diff --git a/Sources/Sentry/include/SentryWatchdogTerminationLogic.h b/Sources/Sentry/include/SentryWatchdogTerminationLogic.h index 7144b0653bc..ee0add889ba 100644 --- a/Sources/Sentry/include/SentryWatchdogTerminationLogic.h +++ b/Sources/Sentry/include/SentryWatchdogTerminationLogic.h @@ -2,7 +2,11 @@ #if SENTRY_HAS_UIKIT -@class SentryOptions, SentryCrashWrapper, SentryAppState, SentryFileManager, SentryAppStateManager; +@class SentryAppState; +@class SentryAppStateManager; +@class SentryCrashWrapper; +@class SentryFileManager; +@class SentryOptions; NS_ASSUME_NONNULL_BEGIN diff --git a/Sources/Sentry/include/SentryWatchdogTerminationTracker.h b/Sources/Sentry/include/SentryWatchdogTerminationTracker.h index bde5f8999b9..1513928f590 100644 --- a/Sources/Sentry/include/SentryWatchdogTerminationTracker.h +++ b/Sources/Sentry/include/SentryWatchdogTerminationTracker.h @@ -1,7 +1,10 @@ #import "SentryDefines.h" -@class SentryOptions, SentryWatchdogTerminationLogic, SentryDispatchQueueWrapper, - SentryAppStateManager, SentryFileManager; +@class SentryAppStateManager; +@class SentryDispatchQueueWrapper; +@class SentryFileManager; +@class SentryOptions; +@class SentryWatchdogTerminationLogic; NS_ASSUME_NONNULL_BEGIN diff --git a/Tests/SentryTests/Integrations/Breadcrumbs/SentryAutoBreadcrumbTrackingIntegration+Test.h b/Tests/SentryTests/Integrations/Breadcrumbs/SentryAutoBreadcrumbTrackingIntegration+Test.h index 70d0d866add..2278d4455b2 100644 --- a/Tests/SentryTests/Integrations/Breadcrumbs/SentryAutoBreadcrumbTrackingIntegration+Test.h +++ b/Tests/SentryTests/Integrations/Breadcrumbs/SentryAutoBreadcrumbTrackingIntegration+Test.h @@ -2,7 +2,9 @@ NS_ASSUME_NONNULL_BEGIN -@class SentryOptions, SentryBreadcrumbTracker, SentrySystemEventBreadcrumbs; +@class SentryBreadcrumbTracker; +@class SentryOptions; +@class SentrySystemEventBreadcrumbs; @interface SentryAutoBreadcrumbTrackingIntegration (Test)