Lines Matching +refs:initialize +refs:numeric +refs:constant

72   "expression is not an %select{integer|integral}0 constant expression">;
74 "expression is not an %select{integer|integral}0 constant expression; "
75 "folding it to a constant is a GNU extension">, InGroup<GNUFoldingConstant>;
79 "conversion from %0 to %1 is not allowed in a converted constant expression">;
81 "conversion from %0 to %1 in converted constant expression would "
86 "is not a constant expression">;
94 "%select{integer|integral}1 constant expression must have "
97 "integral constant expression has incomplete class type %0">;
99 "integral constant expression requires explicit conversion from %0 to %1">;
106 "integer constant expression evaluates to value %0 that cannot be "
110 // Semantic analysis of constant literals.
115 "magnitude of floating-point constant too large for type %0; maximum is %1">,
118 "magnitude of floating-point constant too small for type %0; minimum is %1">,
121 "double precision constant requires %select{cl_khr_fp64|cl_khr_fp64 and __opencl_c_fp64}0, "
124 "half precision constant requires cl_khr_fp16">;
142 "variable length array folded to constant array as an extension">,
165 "array designator cannot initialize non-array type %0">;
169 "field designator cannot initialize a "
522 "is not a valid integral constant expression">;
719 "%select{primitive-default-initialize|primitive-copy}3">,
722 "field is non-trivial to %select{copy|default-initialize}0">;
727 "default-initialize an object of type %1|"
729 "copy-initialize an object of type %1|"
736 "%select{default-initialize|destruct|copy}0">;
739 "non-trivial to %select{default-initialize|destruct|copy}1">;
1489 "static_assert expression is not an integral constant expression">;
1491 "constexpr if condition is not a constant expression">;
1676 "argument to noexcept specifier must be a constant expression">;
1865 "cannot initialize object parameter of type %0 with an expression "
1888 "%select{constructor for %1 must explicitly initialize the|"
1889 "implicit default constructor for %1 must explicitly initialize the|"
2016 "constructor to initialize its non-modifiable members">;
2075 "cannot initialize %select{a variable|a parameter|template parameter|"
2197 "list-initialize this reference">;
2199 "initialize the variable %0 to silence this warning">;
2205 "cannot initialize %select{non-class|reference}0 type %1 with a "
2592 "call to consteval function %q0 is not a constant expression">;
2621 "constexpr variable %0 must be initialized by a constant expression">;
2623 "constexpr variable %0 must have constant destruction">;
2693 "constant expression">, InGroup<DiagGroup<"invalid-constexpr">>, DefaultError;
2695 "%0 attribute expression never produces a constant expression">;
2726 "constexpr union constructor that does not initialize any member "
2729 "constexpr union constructor that does not initialize any member "
2733 "constexpr constructor that does not initialize all members "
2736 "constexpr constructor that does not initialize all members "
2774 "substitution into constraint expression resulted in a non-constant "
2954 "integral compile time constant expression">;
2970 "'aligned' attribute requires integer constant">;
2972 "'align_value' attribute requires integer constant">;
2987 "constant|a string|an identifier|a constant expression}2">;
2990 "constant|a string|an identifier}1">;
2992 "%0 attribute requires integer constant between %1 and %2 inclusive">;
3003 "%0 attribute only applies to%select{| constant}1 pointer arguments">,
3114 "%select{array literals|dictionary literals|numeric literals|boxed expressions|"
3128 "%select{string|character|boolean|numeric}0 literal must be prefixed by '@' "
3132 "a numeric literal|a boxed expression|}0 has undefined behavior">,
3135 "%select{string|numeric}0 literal must be prefixed by '@'">;
3761 "implicit conversion from constant value %0 to 'BOOL'; "
3810 "initialization of pointer of type %0 to null from a constant boolean "
3813 "expression which evaluates to zero treated as a null pointer constant of "
3816 "comparing a pointer to a null character constant; did you mean "
3820 "implicit conversion of %select{NULL|nullptr}0 constant to %1">,
4298 "initialize the %select{reference|const}2 member %3">;
4814 "non-type template argument of type %0 is not an integral constant "
4817 "non-type template argument of type %0 is not a constant expression">;
4887 "non-type template argument is not a pointer to member constant">;
5579 "non-constant static local variable in inline function may be different "
5715 "fields must have a constant size: 'variable length array in structure' "
5743 "initializer element is not a compile-time constant">;
5745 "initializer for aggregate is not a compile-time constant">, InGroup<C99>;
5822 "non-constant-expression cannot be narrowed from type %0 to %1 in "
5825 "constant expression evaluates to %0 which cannot be narrowed to type %1">,
5831 "non-constant-expression cannot be narrowed from type %0 to %1 in "
5835 "constant expression evaluates to %0 which cannot be narrowed to type %1 in "
5841 "cannot initialize Objective-C class type %0">;
6193 …"assigning %select{array literal|dictionary literal|numeric literal|boxed expression|<should not h…
6445 "converting the enum constant to a boolean">,
6451 "use of logical '%0' with constant operand">,
6452 InGroup<DiagGroup<"constant-logical-operand">>;
6456 "remove constant to silence this warning">;
6522 "subscript requires size of interface %0, which is not constant for "
6526 "arithmetic on pointer to interface %0, which is not a constant size for "
6645 "instance variables must have a constant size">;
6694 "cannot initialize array %diff{of type $ with array of type $|"
6697 "cannot initialize array %diff{of type $ with non-constant array of type $|"
6733 "cannot create a non-constant pointer to member function">;
6918 "result of comparison of constant %0 with expression of type 'BOOL'"
6932 "result of comparison of %select{constant %0|true|false}1 with "
7614 "a lambda expression may not appear inside of a constant expression">;
8311 "address argument to atomic operation must be a pointer to non-%select{const|constant}0 _Atomic "
8551 "'__builtin_choose_expr' requires a constant expression">;
8611 "variable does not have a constant initializer">;
8630 "dimension expression does not evaluate to a constant unsigned int">;
8799 "in-class initializer for static data member is not a constant expression">;
8809 "in-class initializer for static data member is not a constant expression; "
8810 "folding it to a constant is a GNU extension">, InGroup<GNUFoldingConstant>;
8813 "initializer for thread-local variable must be a constant expression">;
9420 // should result in a warning, since these always evaluate to a constant.
9424 "%select{a constant|true|false|'std::strong_ordering::equal'}1">,
9452 "an %select{integer|integral}0 constant expression">;
9455 "an %select{integer|integral}0 constant expression "
9495 "second argument to __builtin_annotation must be a non-wide string constant">;
9501 "CFString literal is not a string constant">;
9510 "os_log() format argument is not a string constant">;
9540 Warning<"no case matching constant switch condition '%0'">;
9582 def warn_not_in_enum_assignment : Warning<"integer constant not in range "
9698 "index for __builtin_shufflevector must be a constant integer">;
9726 "incompatible constant for this __builtin_neon function">;
9750 "consider using vld1_%0%1() to initialize a vector from memory, or "
9751 "vcreate_%0%1() to initialize from an integer constant">;
9753 "consider using vld1q_%0%1() to initialize a vector from memory, or "
9754 "vcombine_%0%1(vcreate_%0%1(), vcreate_%0%1()) to initialize from integer "
9789 "argument to __builtin_longjmp must be a constant 1">;
9793 "argument to %0 must be a constant integer">;
9810 "selector element of type %0 cannot be a constant lvalue expression">;
9864 "domain argument %select{|%1 }0does not refer to global constant">;
9866 "domain argument %0 does not point to an NSString or CFString constant">;
9881 "explicit call to +initialize results in duplicate call to +initialize">,
9884 "explicit call to [super initialize] should only be in implementation "
9885 "of +initialize">,
10062 "global sampler requires a const or constant address space qualifier">;
10077 "variable in constant address space must be initialized">;
10255 "constant variable is predetermined as shared|"
10697 "constant; %0 is not and will be ignored">,
10701 "constant; %0 is not">;
10749 "expected constant sized array of 'omp_alloctrait_t' elements, not %0">;
10770 "prefer_list item must be a string literal or constant integral "
10780 "loop to be fully unrolled must have a constant trip count">;
11043 "zero as null pointer constant">,
11044 InGroup<DiagGroup<"zero-as-null-pointer-constant">>, DefaultIgnore;
11274 "%0 argument must be a constant unsigned integer expression">;
11297 "__builtin_preserve_field_info argument %0 not a constant">;
11299 "__builtin_btf_type_id argument %0 not a constant">;
11303 "__builtin_preserve_type_info argument %0 not a constant">;
11307 "__builtin_preserve_enum_value argument %0 not a constant">;
11335 "probability argument to __builtin_expect_with_probability must be constant "