Home | History | Annotate | Download | only in lint1

Lines Matching defs:_Bool

5  * The option -T treats _Bool as incompatible with all other scalar types.
9 * The type _Bool is compatible with any typedef of _Bool.
11 * Note: Since <stdbool.h> defines bool as textual alias of _Bool,
16 * No other constants are compatible with type _Bool.
26 * There is no implicit conversion between _Bool and any other type.
58 * '==', '!=', '&&', '||' is _Bool instead of int.
61 * Expressions of the form "flags & FLAG" are compatible with _Bool if
79 * The header <stdbool.h> defines the macros bool = _Bool, false = 0 and
99 typedef _Bool bool;
115 /* expect+1: error: parameter 1 expects '_Bool', gets passed 'int' [334] */
117 /* expect+1: error: parameter 1 expects '_Bool', gets passed 'int' [334] */
119 /* expect+1: error: parameter 1 expects '_Bool', gets passed 'int' [334] */
211 /* expect+1: error: operands of '=' have incompatible types '_Bool' and 'unsigned int' [107] */
214 /* expect+1: error: operands of '=' have incompatible types 'unsigned int' and '_Bool' [107] */
218 /* expect+1: error: operands of '=' have incompatible types '_Bool' and 'unsigned int' [107] */
221 /* expect+1: error: operands of '=' have incompatible types 'unsigned int' and '_Bool' [107] */
264 /* expect+1: error: function has return type '_Bool' but returns 'int' [211] */
271 /* expect+1: error: function has return type '_Bool' but returns 'int' [211] */
278 /* expect+1: error: function has return type '_Bool' but returns 'int' [211] */
286 /* expect+1: error: function has return type '_Bool' but returns 'pointer' [211] */
293 /* expect+1: error: function has return type 'char' but returns '_Bool' [211] */
300 /* expect+1: error: function has return type 'char' but returns '_Bool' [211] */
319 /* expect+2: error: parameter 2 expects 'int', gets passed '_Bool' [334] */
320 /* expect+1: error: parameter 3 expects 'pointer', gets passed '_Bool' [334] */
324 /* expect+2: error: parameter 1 expects '_Bool', gets passed 'int' [334] */
329 /* expect+2: error: parameter 1 expects '_Bool', gets passed 'pointer' [334] */
344 /* expect+1: error: parameter 1 expects '_Bool', gets passed 'int' [334] */
346 /* expect+1: error: parameter 1 expects '_Bool', gets passed 'int' [334] */
348 /* expect+1: error: parameter 1 expects '_Bool', gets passed 'int' [334] */
358 /* expect+1: error: operands of '=' have incompatible types '_Bool' and 'int' [107] */
361 /* expect+1: error: operands of '=' have incompatible types '_Bool' and 'int' [107] */
366 /* expect+1: error: operands of '=' have incompatible types 'int' and '_Bool' [107] */
369 /* expect+1: error: operands of '=' have incompatible types 'int' and '_Bool' [107] */
372 /* expect+1: error: operands of '=' have incompatible types 'int' and '_Bool' [107] */
374 /* expect+1: error: operands of '=' have incompatible types '_Bool' and 'int' [107] */
387 /* expect+1: error: operands of '=' have incompatible types 'int' and '_Bool' [107] */
389 /* expect+1: error: operands of '=' have incompatible types 'unsigned int' and '_Bool' [107] */
391 /* expect+1: error: operands of '=' have incompatible types 'double' and '_Bool' [107] */
393 /* expect+1: error: operands of '=' have incompatible types 'pointer' and '_Bool' [107] */
532 /* expect+1: error: operands of '=' have incompatible types '_Bool' and 'int' [107] */
539 /* expect+1: error: operands of '=' have incompatible types '_Bool' and 'int' [107] */
700 /* expect+1: error: operands of ':' have incompatible types '_Bool' and 'unsigned int' [107] */
702 /* expect+1: error: operands of ':' have incompatible types 'unsigned int' and '_Bool' [107] */
723 /* expect+1: error: operands of 'init' have incompatible types 'char' and '_Bool' [107] */
725 /* expect+1: error: operands of 'init' have incompatible types 'int' and '_Bool' [107] */
727 /* expect+1: error: operands of 'init' have incompatible types 'double' and '_Bool' [107] */
729 /* expect+1: error: operands of 'init' have incompatible types 'pointer' and '_Bool' [107] */
747 /* expect+1: error: operands of '=' have incompatible types 'int' and '_Bool' [107] */
749 /* expect+1: error: operands of '=' have incompatible types 'int' and '_Bool' [107] */
751 /* expect+1: error: operands of '=' have incompatible types 'int' and '_Bool' [107] */
753 /* expect+1: error: operands of '=' have incompatible types 'int' and '_Bool' [107] */
755 /* expect+1: error: operands of '=' have incompatible types 'int' and '_Bool' [107] */
757 /* expect+1: error: operands of '=' have incompatible types 'int' and '_Bool' [107] */
759 /* expect+1: error: operands of '=' have incompatible types 'int' and '_Bool' [107] */
761 /* expect+1: error: operands of '=' have incompatible types 'int' and '_Bool' [107] */
763 /* expect+1: error: operands of '=' have incompatible types 'int' and '_Bool' [107] */
790 /* expect+1: error: operands of '=' have incompatible types '_Bool' and 'int' [107] */
794 * Assuming that FLAG1 is set in flags, a _Bool variable stores this
799 /* expect+1: error: operands of '=' have incompatible types '_Bool' and 'int' [107] */
803 * In a _Bool variable, FLAG28 is stored as 1, since it is unequal to
807 /* expect+1: error: operands of '=' have incompatible types '_Bool' and 'int' [107] */
842 /* expect+1: error: operands of 'init' have incompatible types '_Bool' and 'int' [107] */
844 /* expect+1: error: operands of 'init' have incompatible types '_Bool' and 'int' [107] */
846 /* expect+1: error: operands of 'init' have incompatible types '_Bool' and 'int' [107] */
873 /* expect+1: error: operands of 'init' have incompatible types '_Bool' and 'int' [107] */
875 /* expect+1: error: operands of 'init' have incompatible types '_Bool' and 'int' [107] */
877 /* expect+1: error: operands of 'init' have incompatible types '_Bool' and 'int' [107] */
886 /* expect+1: error: operands of '==' have incompatible types '_Bool' and 'int' [107] */
921 _Bool b;
925 /* expect+1: error: operands of 'init' have incompatible types '_Bool' and 'int' [107] */
927 /* expect+1: error: operands of 'init' have incompatible types '_Bool' and 'int' [107] */