Home
last modified time | relevance | path

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

/external/llvm-project/clang/test/Analysis/
Denum-cast-out-of-range.cpp13 enum unscoped_specified_t : int { enum
56unscoped_specified_t InvalidBeforeRangeBegin = static_cast<unscoped_specified_t>(-5); // expected-… in unscopedSpecified()
57 unscoped_specified_t ValidNegativeValue1 = static_cast<unscoped_specified_t>(-4); // OK. in unscopedSpecified()
58 unscoped_specified_t ValidNegativeValue2 = static_cast<unscoped_specified_t>(-3); // OK. in unscopedSpecified()
59unscoped_specified_t InvalidInsideRange1 = static_cast<unscoped_specified_t>(-2); // expected-warn… in unscopedSpecified()
60unscoped_specified_t InvalidInsideRange2 = static_cast<unscoped_specified_t>(-1); // expected-warn… in unscopedSpecified()
61unscoped_specified_t InvalidInsideRange3 = static_cast<unscoped_specified_t>(0); // expected-warni… in unscopedSpecified()
62 unscoped_specified_t ValidPositiveValue1 = static_cast<unscoped_specified_t>(1); // OK. in unscopedSpecified()
63 unscoped_specified_t ValidPositiveValue2 = static_cast<unscoped_specified_t>(2); // OK. in unscopedSpecified()
64unscoped_specified_t InvalidInsideRange4 = static_cast<unscoped_specified_t>(3); // expected-warni… in unscopedSpecified()
[all …]