DescriptionFix Clang warning about tautological compare.
The warning looks like this:
/usr/local/google/work/chrome/src/v8/src/utils.h:977:20: warning: comparison of constant 32 with expression of type 'v8::internal::AstPropertiesFlag' is always true [-Wtautological-constant-out-of-range-compare]
ASSERT(element < static_cast<int>(sizeof(T) * CHAR_BIT));
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work around it by casting element to int.
BUG=crbug.com/151927
Patch Set 1 #
Messages
Total messages: 7 (0 generated)
|