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
50 lines
1.5 KiB
C
50 lines
1.5 KiB
C
// RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited %s -o - | FileCheck %s
|
|
|
|
// CHECK-NOT: enumKind
|
|
// CHECK: !DICompositeType(tag: DW_TAG_enumeration_type, name: "ClosedEnum"
|
|
// CHECK-SAME: enumKind: DW_APPLE_ENUM_KIND_Closed)
|
|
// CHECK: !DICompositeType(tag: DW_TAG_enumeration_type, name: "OpenEnum"
|
|
// CHECK-SAME: enumKind: DW_APPLE_ENUM_KIND_Open)
|
|
// CHECK: !DICompositeType(tag: DW_TAG_enumeration_type, name: "ClosedFlagEnum"
|
|
// CHECK-SAME: enumKind: DW_APPLE_ENUM_KIND_Closed)
|
|
// CHECK: !DICompositeType(tag: DW_TAG_enumeration_type, name: "OpenFlagEnum"
|
|
// CHECK-SAME: enumKind: DW_APPLE_ENUM_KIND_Open)
|
|
// CHECK: !DICompositeType(tag: DW_TAG_enumeration_type, name: "MixedEnum"
|
|
// CHECK-SAME: enumKind: DW_APPLE_ENUM_KIND_Open)
|
|
|
|
enum Enum {
|
|
E0, E1
|
|
};
|
|
|
|
enum FlagEnum {
|
|
FE0 = 1 << 0, FE1 = 1 << 1
|
|
};
|
|
|
|
enum __attribute__((enum_extensibility(closed))) ClosedEnum {
|
|
A0, A1
|
|
};
|
|
|
|
enum __attribute__((enum_extensibility(open))) OpenEnum {
|
|
B0, B1
|
|
};
|
|
|
|
enum __attribute__((enum_extensibility(closed),flag_enum)) ClosedFlagEnum {
|
|
C0 = 1 << 0, C1 = 1 << 1
|
|
};
|
|
|
|
enum __attribute__((enum_extensibility(open),flag_enum)) OpenFlagEnum {
|
|
D0 = 1 << 0, D1 = 1 << 1
|
|
};
|
|
|
|
enum __attribute__((enum_extensibility(open), enum_extensibility(closed))) MixedEnum {
|
|
M0, M1
|
|
};
|
|
|
|
enum Enum e;
|
|
enum FlagEnum fe;
|
|
enum ClosedEnum ce;
|
|
enum OpenEnum oe;
|
|
enum ClosedFlagEnum cfe;
|
|
enum OpenFlagEnum ofe;
|
|
enum MixedEnum me;
|