Home
last modified time | relevance | path

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

/external/llvm-project/clang/test/Analysis/
Denum-cast-out-of-range.cpp5 enum unscoped_unspecified_t { enum
38 unscoped_unspecified_t E : 5;
42unscoped_unspecified_t InvalidBeforeRangeBegin = static_cast<unscoped_unspecified_t>(-5); // expec… in unscopedUnspecified()
43 unscoped_unspecified_t ValidNegativeValue1 = static_cast<unscoped_unspecified_t>(-4); // OK. in unscopedUnspecified()
44 unscoped_unspecified_t ValidNegativeValue2 = static_cast<unscoped_unspecified_t>(-3); // OK. in unscopedUnspecified()
45unscoped_unspecified_t InvalidInsideRange1 = static_cast<unscoped_unspecified_t>(-2); // expected-… in unscopedUnspecified()
46unscoped_unspecified_t InvalidInsideRange2 = static_cast<unscoped_unspecified_t>(-1); // expected-… in unscopedUnspecified()
47unscoped_unspecified_t InvalidInsideRange3 = static_cast<unscoped_unspecified_t>(0); // expected-w… in unscopedUnspecified()
48 unscoped_unspecified_t ValidPositiveValue1 = static_cast<unscoped_unspecified_t>(1); // OK. in unscopedUnspecified()
49 unscoped_unspecified_t ValidPositiveValue2 = static_cast<unscoped_unspecified_t>(2); // OK. in unscopedUnspecified()
[all …]