Home
last modified time | relevance | path

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

/external/llvm-project/clang/test/Analysis/
Denum-cast-out-of-range.cpp29 enum class scoped_specified_t : int { enum
84scoped_specified_t InvalidBeforeRangeBegin = static_cast<scoped_specified_t>(-5); // expected-warn… in scopedSpecified()
85 scoped_specified_t ValidNegativeValue1 = static_cast<scoped_specified_t>(-4); // OK. in scopedSpecified()
86 scoped_specified_t ValidNegativeValue2 = static_cast<scoped_specified_t>(-3); // OK. in scopedSpecified()
87scoped_specified_t InvalidInsideRange1 = static_cast<scoped_specified_t>(-2); // expected-warning … in scopedSpecified()
88scoped_specified_t InvalidInsideRange2 = static_cast<scoped_specified_t>(-1); // expected-warning … in scopedSpecified()
89scoped_specified_t InvalidInsideRange3 = static_cast<scoped_specified_t>(0); // expected-warning {… in scopedSpecified()
90 scoped_specified_t ValidPositiveValue1 = static_cast<scoped_specified_t>(1); // OK. in scopedSpecified()
91 scoped_specified_t ValidPositiveValue2 = static_cast<scoped_specified_t>(2); // OK. in scopedSpecified()
92scoped_specified_t InvalidInsideRange4 = static_cast<scoped_specified_t>(3); // expected-warning {… in scopedSpecified()
[all …]