• Home
  • Raw
  • Download

Lines Matching refs:CCTestEnum

4 typedef enum CCTestEnum  enum
9 } CCTestEnum; typedef
11 CCTestEnum test = 50; // expected-warning {{integer constant not in range of enumerated type 'CCTes…
12 CCTestEnum test1 = -50; // expected-warning {{integer constant not in range of enumerated type 'CCT…
15 static const CCTestEnum SilenceWithCast1 = 51; // expected-warning {{integer constant not in range …
16 static const CCTestEnum SilenceWithCast2 = (CCTestEnum) 51; // no-warning
17 static const CCTestEnum SilenceWithCast3 = (const CCTestEnum) 51; // no-warning
18 static const CCTestEnum SilenceWithCast4 = (const volatile CCTestEnum) 51; // no-warning
21CCTestEnum SilenceWithCast1 = 51; // expected-warning {{integer constant not in range of enumerate… in SilenceWithCastLocalVar()
22 CCTestEnum SilenceWithCast2 = (CCTestEnum) 51; // no-warning in SilenceWithCastLocalVar()
23 CCTestEnum SilenceWithCast3 = (const CCTestEnum) 51; // no-warning in SilenceWithCastLocalVar()
24 CCTestEnum SilenceWithCast4 = (const volatile CCTestEnum) 51; // no-warning in SilenceWithCastLocalVar()
26 …const CCTestEnum SilenceWithCast1c = 51; // expected-warning {{integer constant not in range of en… in SilenceWithCastLocalVar()
27 const CCTestEnum SilenceWithCast2c = (CCTestEnum) 51; // no-warning in SilenceWithCastLocalVar()
28 const CCTestEnum SilenceWithCast3c = (const CCTestEnum) 51; // no-warning in SilenceWithCastLocalVar()
29 const CCTestEnum SilenceWithCast4c = (const volatile CCTestEnum) 51; // no-warning in SilenceWithCastLocalVar()
32 CCTestEnum foo(CCTestEnum r) { in foo()
55CCTestEnum test = 1; // expected-warning {{integer constant not in range of enumerated type 'CCTes… in main()