Home
last modified time | relevance | path

Searched refs:scoped_unspecified_t (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/clang/test/Analysis/
Denum-cast-out-of-range.cpp21 enum class scoped_unspecified_t { enum
70scoped_unspecified_t InvalidBeforeRangeBegin = static_cast<scoped_unspecified_t>(-5); // expected-… in scopedUnspecified()
71 scoped_unspecified_t ValidNegativeValue1 = static_cast<scoped_unspecified_t>(-4); // OK. in scopedUnspecified()
72 scoped_unspecified_t ValidNegativeValue2 = static_cast<scoped_unspecified_t>(-3); // OK. in scopedUnspecified()
73scoped_unspecified_t InvalidInsideRange1 = static_cast<scoped_unspecified_t>(-2); // expected-warn… in scopedUnspecified()
74scoped_unspecified_t InvalidInsideRange2 = static_cast<scoped_unspecified_t>(-1); // expected-warn… in scopedUnspecified()
75scoped_unspecified_t InvalidInsideRange3 = static_cast<scoped_unspecified_t>(0); // expected-warni… in scopedUnspecified()
76 scoped_unspecified_t ValidPositiveValue1 = static_cast<scoped_unspecified_t>(1); // OK. in scopedUnspecified()
77 scoped_unspecified_t ValidPositiveValue2 = static_cast<scoped_unspecified_t>(2); // OK. in scopedUnspecified()
78scoped_unspecified_t InvalidInsideRange4 = static_cast<scoped_unspecified_t>(3); // expected-warni… in scopedUnspecified()
[all …]