CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
55 lines
3.2 KiB
Objective-C
55 lines
3.2 KiB
Objective-C
// RUN: %check_clang_tidy %s objc-property-declaration %t
|
|
@class CIColor;
|
|
@class NSArray;
|
|
@class NSData;
|
|
@class NSString;
|
|
@class UIViewController;
|
|
|
|
typedef void *CGColorRef;
|
|
|
|
@interface Foo
|
|
@property(assign, nonatomic) int NotCamelCase;
|
|
// CHECK-MESSAGES: :[[@LINE-1]]:34: warning: property name 'NotCamelCase' not using lowerCamelCase style or not prefixed in a category, according to the Apple Coding Guidelines [objc-property-declaration]
|
|
// CHECK-FIXES: @property(assign, nonatomic) int notCamelCase;
|
|
@property(assign, nonatomic) int camelCase;
|
|
@property(strong, nonatomic) NSString *URLString;
|
|
@property(strong, nonatomic) NSString *bundleID;
|
|
@property(strong, nonatomic) NSData *RGBABytes;
|
|
@property(strong, nonatomic) UIViewController *notificationsVC;
|
|
@property(strong, nonatomic) NSString *URL_string;
|
|
// CHECK-MESSAGES: :[[@LINE-1]]:40: warning: property name 'URL_string' not using lowerCamelCase style or not prefixed in a category, according to the Apple Coding Guidelines [objc-property-declaration]
|
|
@property(strong, nonatomic) NSString *supportURLsCamelCase;
|
|
@property(strong, nonatomic) NSString *supportURLCamelCase;
|
|
@property(strong, nonatomic) NSString *VCsPluralToAdd;
|
|
@property(assign, nonatomic) int centerX;
|
|
@property(assign, nonatomic) int enable2GBackgroundFetch;
|
|
@property(assign, nonatomic) int shouldUseCFPreferences;
|
|
@property(assign, nonatomic) int enableGLAcceleration;
|
|
@property(assign, nonatomic) int ID;
|
|
@property(assign, nonatomic) int hasADog;
|
|
@property(nonatomic, readonly) CGColorRef CGColor;
|
|
@property(nonatomic, readonly) CIColor *CIColor;
|
|
@property(nonatomic, copy) NSArray *IDs;
|
|
@end
|
|
|
|
@interface Foo (Bar)
|
|
@property(assign, nonatomic) int abc_NotCamelCase;
|
|
// CHECK-MESSAGES: :[[@LINE-1]]:34: warning: property name 'abc_NotCamelCase' not using lowerCamelCase style or not prefixed in a category, according to the Apple Coding Guidelines [objc-property-declaration]
|
|
@property(assign, nonatomic) int abCD_camelCase;
|
|
// CHECK-MESSAGES: :[[@LINE-1]]:34: warning: property name 'abCD_camelCase' not using lowerCamelCase style or not prefixed in a category, according to the Apple Coding Guidelines [objc-property-declaration]
|
|
// CHECK-FIXES: @property(assign, nonatomic) int abcd_camelCase;
|
|
@property(assign, nonatomic) int abCD_NotCamelCase;
|
|
// CHECK-MESSAGES: :[[@LINE-1]]:34: warning: property name 'abCD_NotCamelCase' not using lowerCamelCase style or not prefixed in a category, according to the Apple Coding Guidelines [objc-property-declaration]
|
|
// CHECK-FIXES: @property(assign, nonatomic) int abcd_notCamelCase;
|
|
@property(assign, nonatomic) int wrongFormat_;
|
|
// CHECK-MESSAGES: :[[@LINE-1]]:34: warning: property name 'wrongFormat_' not using lowerCamelCase style or not prefixed in a category, according to the Apple Coding Guidelines [objc-property-declaration]
|
|
@property(strong, nonatomic) NSString *URLStr;
|
|
@property(assign, nonatomic) int abc_camelCase;
|
|
@property(strong, nonatomic) NSString *abc_URL;
|
|
@property(strong, nonatomic) NSString *opac2_sourceComponent;
|
|
@end
|
|
|
|
@interface Foo ()
|
|
@property(assign, nonatomic) int abc_inClassExtension;
|
|
// CHECK-MESSAGES: :[[@LINE-1]]:34: warning: property name 'abc_inClassExtension' not using lowerCamelCase style or not prefixed in a category, according to the Apple Coding Guidelines [objc-property-declaration]
|
|
@end |