Searched refs:MyEnum (Results 1 - 10 of 10) sorted by last modified time

/external/nanopb-c/tests/alltypes_pointer/
H A Dencode_alltypes_pointer.c33 MyEnum req_enum = MyEnum_Truth;
63 MyEnum rep_enum[5] = {0, 0, 0, 0, MyEnum_Truth};
84 MyEnum opt_enum = MyEnum_Truth;
/external/nanopb-c/tests/backwards_compatibility/
H A Dalltypes_legacy.c28 const MyEnum AllTypes_opt_enum_default = MyEnum_Second;
H A Dalltypes_legacy.h21 } MyEnum; typedef in typeref:enum:_MyEnum
63 MyEnum req_enum;
97 MyEnum rep_enum[5];
131 MyEnum opt_enum;
154 extern const MyEnum AllTypes_opt_enum_default;
/external/clang/test/Analysis/
H A Dcfg.cpp195 // CHECK-LABEL: int test_enum_with_extension(enum MyEnum value)
208 // CHECK-NEXT: 4: [B2.3] (ImplicitCastExpr, LValueToRValue, enum MyEnum)
247 enum MyEnum { A, B, C }; enum
248 static const enum MyEnum D = (enum MyEnum) 32;
250 int test_enum_with_extension(enum MyEnum value) {
261 // CHECK-LABEL: int test_enum_with_extension_default(enum MyEnum value)
274 // CHECK-NEXT: 4: [B2.3] (ImplicitCastExpr, LValueToRValue, enum MyEnum)
313 int test_enum_with_extension_default(enum MyEnum value) {
H A Dmisc-ps-region-store.cpp513 enum MyEnum { MyEnumValue }; enum
514 MyEnum rdar10892489() {
517 } catch (MyEnum e) {
523 MyEnum rdar10892489_positive() {
526 } catch (MyEnum e) {
/external/clang/test/CodeGenCXX/
H A Dforward-enum.cpp3 enum MyEnum : char;
4 void bar(MyEnum value) { }
7 void foo(MyEnum value)
/external/clang/test/Sema/
H A Dwarn-unreachable.c171 typedef enum { Value1 = 1 } MyEnum; typedef in typeref:enum:__anon19194
172 void unreachable_default(MyEnum e) {
177 case 2: // expected-warning {{case value not in enumerated type 'MyEnum'}}
185 void unreachable_in_default(MyEnum e) {
205 MyEnum trivial_dead_return_enum() {
210 MyEnum trivial_dead_return_enum_2(int x) {
231 MyEnum nontrivial_dead_return_enum_2(int x) {
336 MyEnum trivial_dead_return_enum_SUPPRESSED() {
/external/clang/test/SemaCXX/
H A Doverloaded-builtin-operators.cpp195 typedef enum { Enum1, Enum2, Enum3 } MyEnum; typedef in namespace:PR7319
200 MyEnum e1, e2;
H A Dscope-check.cpp189 enum MyEnum { enum in namespace:PR10462
195 MyEnum K;
H A Dstring-plus-int.cpp9 enum MyEnum { enum
33 consume("foo" + kMyEnum); // expected-warning {{adding 'MyEnum' to a string does not append to the string}} expected-note {{use array indexing to silence this warning}}
37 consume(kMyEnum + "foo"); // expected-warning {{adding 'MyEnum' to a string does not append to the string}} expected-note {{use array indexing to silence this warning}}

Completed in 220 milliseconds