Lines Matching defs:pointer

140 /* Return true if EXP is a null pointer constant, false otherwise.  */
1266 pointer targets are lost by taking their TYPE_MAIN_VARIANT. */
1288 "pointer target types incompatible in C++");
1706 /* A null pointer instead of a type
1798 /* Compute the size to increment a pointer by. When a function type or void
1843 /* Convert the array expression EXP to a pointer. */
1873 "converting an array compound literal to a pointer "
1881 /* Convert the function expression EXP to a pointer. */
2343 converted to a pointer. */
2382 /* Given an expression PTR for a pointer, return an expression
2391 tree pointer = default_conversion (ptr);
2392 tree type = TREE_TYPE (pointer);
2397 if (CONVERT_EXPR_P (pointer)
2398 || TREE_CODE (pointer) == VIEW_CONVERT_EXPR)
2404 if (strict_aliasing_warning (TREE_TYPE (TREE_OPERAND (pointer, 0)),
2405 type, TREE_OPERAND (pointer, 0)))
2406 TREE_NO_WARNING (pointer) = 1;
2409 if (TREE_CODE (pointer) == ADDR_EXPR
2410 && (TREE_TYPE (TREE_OPERAND (pointer, 0))
2413 ref = TREE_OPERAND (pointer, 0);
2421 ref = build1 (INDIRECT_REF, t, pointer);
2427 error_at (loc, "dereferencing pointer to incomplete type "
2434 warning_at (loc, 0, "dereferencing %<void *%> pointer");
2436 /* We *must* set TREE_READONLY when dereferencing a pointer to const,
2441 /* A de-reference of a pointer to const is not a const. It is valid
2442 to change it via some other pointer. */
2445 = TYPE_VOLATILE (t) || TREE_SIDE_EFFECTS (pointer);
2451 else if (TREE_CODE (pointer) != ERROR_MARK)
2501 "subscripted value is neither array nor pointer nor vector");
2519 error_at (loc, "subscripted value is pointer to function");
2862 FUNCTION's data type may be a function type or a pointer-to-function. */
2891 or pointer-to-function. This function changes the elements of
2909 /* Convert anything with function type to a pointer-to-function. */
2946 "called object %qE is not a function or function pointer",
2951 "called object %qD is not a function or function pointer",
2957 "called object is not a function or function pointer");
3045 /* Convert anything with function type to a pointer-to-function. */
3094 /* Change pointer to function to the function itself for
3582 "pointer of type %<void *%> used in subtraction");
3585 "pointer to a function used in subtraction");
3595 /* This generates an error if op1 is pointer to incomplete type. */
3597 error_at (loc, "arithmetic on pointer to an incomplete type");
3602 error_at (loc, "arithmetic on pointer to an empty aggregate");
4073 /* If pointer target is an incomplete type,
4079 "increment of pointer to an incomplete type %qT",
4083 "decrement of pointer to an incomplete type %qT",
4688 "pointer to array loses qualifier "
4694 "%<void *%> and function pointer");
4705 "pointer to array loses qualifier "
4711 "%<void *%> and function pointer");
4715 /* Objective-C pointer comparisons are a bit more lenient. */
4723 "pointer type mismatch in conditional expression");
4732 "pointer/integer type mismatch in conditional expression");
4743 "pointer/integer type mismatch in conditional expression");
4916 cast. Both TYPE and OTYPE are pointer types. LOC is the location
4962 "cast discards %qv qualifier from pointer target type",
5121 warning_at (loc, 0, "cast to %s address space pointer "
5122 "from disjoint generic address space pointer",
5126 warning_at (loc, 0, "cast to generic address space pointer "
5127 "from disjoint %s address space pointer",
5131 warning_at (loc, 0, "cast to %s address space pointer "
5132 "from disjoint %s address space pointer",
5162 "cast from pointer to integer of different size");
5176 OPT_Wint_to_pointer_cast, "cast to pointer from integer "
5183 pointer types, except for converting a null pointer constant
5184 to function pointer type. */
5191 "conversion of function pointer to object pointer type");
5200 "conversion of object pointer to function pointer type");
5229 integer and pointer types other than direct integer-to-integer
5230 and integer-to-pointer be confused with integer constant
5231 expressions and null pointer constants. */
5563 /* RHS is an expression whose type is pointer to struct. If there is
5564 an anonymous field in RHS with type TYPE, then return a pointer to
5706 types. NULL_POINTER_CONSTANT says whether RHS was a null pointer
5739 /* Change pointer to function to the function itself for
6019 /* Can convert integer zero to any pointer type. */
6052 "pointer from unqualified"),
6054 "function pointer from "
6057 "function pointer from "
6060 "pointer from unqualified"),
6068 "%qv qualifier from pointer target type"),
6070 "from pointer target type"),
6072 "from pointer target type"),
6074 "pointer target type"),
6115 /* The Plan 9 compiler permits a pointer to a struct to be
6116 automatically converted into a pointer to an anonymous field
6156 error_at (expr_loc, "passing argument %d of %qE from pointer to "
6160 error_at (location, "assignment from pointer to "
6164 error_at (location, "initialization from pointer to "
6168 error_at (location, "return from pointer to "
6235 "%qv qualifier from pointer target type"),
6237 "from pointer target type"),
6239 "from pointer target type"),
6241 "pointer target type"),
6252 "%qE between function pointer "
6255 "function pointer and %<void *%>"),
6257 "function pointer and %<void *%>"),
6259 "pointer and %<void *%>"));
6278 "%qv qualifier from pointer target type"),
6280 "from pointer target type"),
6282 "from pointer target type"),
6284 "pointer target type"),
6295 G_("pointer targets in passing argument "
6297 G_("pointer targets in assignment "
6299 G_("pointer targets in initialization "
6301 G_("pointer targets in return differ "
6316 "%q#v qualified function pointer "
6319 "pointer from unqualified"),
6321 "function pointer from unqualified"),
6323 "pointer from unqualified"),
6333 "incompatible pointer type"),
6334 G_("assignment from incompatible pointer type"),
6336 "pointer type"),
6337 G_("return from incompatible pointer type"));
6350 /* An explicit constant 0 can convert to a pointer,
6357 "pointer from integer without a cast"),
6358 G_("assignment makes pointer from integer "
6360 G_("initialization makes pointer from "
6362 G_("return makes pointer from integer "
6372 "from pointer without a cast"),
6373 G_("assignment makes integer from pointer "
6375 G_("initialization makes integer from pointer "
6377 G_("return makes integer from pointer "
6647 NULL_POINTER_CONSTANT is true if INIT is a null pointer constant.
9395 to return, or a null pointer for `return;' with no value. LOC is
9512 /* If the second operand of the MINUS_EXPR has a pointer
10508 /* Handle the pointer + int case. */
10532 /* Handle pointer minus int. Just like pointer plus int. */
10891 "comparison of %<void *%> with function pointer");
10897 "comparison of %<void *%> with function pointer");
10903 "comparison of distinct pointer types lacks a cast");
10915 pedwarn (location, 0, "comparison between pointer and integer");
10920 pedwarn (location, 0, "comparison between pointer and integer");
10997 "ordered comparison of pointer with null pointer");
11012 "comparison of distinct pointer types lacks a cast");
11020 "ordered comparison of pointer with integer zero");
11023 "ordered comparison of pointer with integer zero");
11030 "ordered comparison of pointer with integer zero");
11033 "ordered comparison of pointer with integer zero");
11038 pedwarn (location, 0, "comparison between pointer and integer");
11043 pedwarn (location, 0, "comparison between pointer and integer");
11390 error_at (location, "used array that cannot be converted to pointer where scalar is required");
11862 "for pointer type length expression must be specified");
11865 /* If there is a pointer type anywhere but in the very first
11879 "%qE does not have pointer or array type", ret);
12304 "linear clause applied to non-integral non-pointer "
12400 "%qE in %<aligned%> clause is neither a pointer nor "
12707 /* A restrict-qualified pointer type must be a pointer to object or
12792 non-type pointer to member function template arguments