Lines Matching defs:as

7 the terms of the GNU General Public License as published by the Free
94 with __attribute__((deprecated)). An object declared as
179 chained together by the ->prev field, which (as the name implies)
226 BOOL_BITFIELD in_struct : 1; /* currently defined as struct field */
362 bindings in the scope, as appropriate. */
390 These fields are updated as scopes are popped. */
400 Decls are added to this list as scopes are popped. We only add
417 function scope, as are bindings of undeclared identifiers to
418 error_mark_node. (GCC permits nested functions as an extension,
668 addr_space_t as = to_type == error_mark_node? ADDR_SPACE_GENERIC
672 if (as != ADDR_SPACE_GENERIC || c_default_pointer_mode == VOIDmode)
673 pointer_mode = targetm.addr_space.pointer_mode (as);
928 /* Update spot bindings P as we pop out of SCOPE. Return true if we
1019 /* Identify this scope as currently being filled with parameters. */
1211 type nodes get set in `grokdeclarator' as soon as we have created
1450 call may not be necessary as my tests indicate it
1565 /* Record the identifier as the type's name if it has none. */
1597 ("using %qD as both a typedef and a tag is "
1862 error ("%q+D redeclared as different kind of symbol", newdecl);
1866 warning (0, "built-in function %q+D declared as non-function",
1925 /* Make sure we keep void as the return type. */
1938 /* Make sure we keep void as the return type. */
2029 /* If you declare a built-in function name as static, or
2175 second must have external linkage as well, or the behavior is
2392 /* For typedefs use the old type, as the new type's DECL_NAME points
2577 /* If we're redefining a function previously defined as extern
2604 But it gets tagged as having been declared. */
2712 as we'll lose the "local-exec" model. */
2752 /* Handle when a new declaration NEWDECL has the same name as an old
2861 /* Record a decl-node X as belonging to the current lexical scope.
2862 Check for errors (such as an incompatible declaration for the same
2992 proper types saved and the types will not have changed as
3099 slot (e.g. "f(void a, ...)") - that doesn't count as an
3121 /* Record X as belonging to file scope.
3351 /* Generate an implicit declaration for identifier FUNCTIONID at LOC as a
3393 (somehow) in a different scope, or as a built-in.
3523 /* Get the LABEL_DECL corresponding to identifier NAME as a label.
3764 /* Issue warnings as required about any goto statements from
3784 /* Mark label as having been defined. */
3791 warnings as appropriate for jumps from the switch to case or
3812 warnings about decls as needed. It returns true if it found an
3889 /* For our purposes, a tag in the external scope is the same as
3907 /* If in the same binding level as a declaration as a tag
3930 error_at (pending_invalid_xref_location, "%qE defined as wrong kind of tag",
4015 decl as emitted so it is not placed in the output. Anything using
4300 /* Return the qualifiers from SPECS as a bitwise OR of TYPE_QUAL_*
4387 declarator, as constructed by build_array_declarator; INNER is what
4426 /* Decode a "typename", such as "int **", returning a ..._TYPE node.
4482 This is called as soon as the type information and variable name
4486 The ..._DECL node is returned as the value.
4505 /* An object declared as __attribute__((deprecated)) suppresses
4571 of VLAs themselves count as VLAs, it does not make
4792 make it extern as well as static, so it does not get
4981 /* If we used it already as memory, it must stay in memory. */
5082 /* Mark all the parameter declarations to date as forward decls.
5114 the COMPOUND_LITERAL_EXPR rather than added elsewhere as a DECL_EXPR. */
5383 If EXPR is not NULL, any expressions that need to be evaluated as
5450 and get it as an IDENTIFIER_NODE, for an error message. */
5504 Then store_parm_decls will reject it and not use it as a parm. */
5790 error_at (loc, "declaration of %qE as array of voids", name);
5792 error_at (loc, "declaration of type name as array of voids");
5799 error_at (loc, "declaration of %qE as array of functions",
5802 error_at (loc, "declaration of type name as array of "
5829 /* Strip NON_LVALUE_EXPRs since we aren't using as an
5874 treating the type as variable-length avoids
6035 addr_space_t as = DECODE_QUAL_ADDR_SPACE (type_quals);
6036 if (!ADDR_SPACE_GENERIC_P (as) && as != TYPE_ADDR_SPACE (type))
6038 ENCODE_QUAL_ADDR_SPACE (as));
6120 error_at (loc, "%qE declared as function returning a "
6123 error_at (loc, "type name declared as function "
6130 error_at (loc, "%qE declared as function returning an array",
6133 error_at (loc, "type name declared as function returning "
6223 be incorrect, as we might be in the middle of an expression
6242 /* Process type qualifiers (such as const or volatile)
6379 /* If we proceed with the array type as it is, we'll eventually
6423 ("using %qD as both a typedef and a tag is "
6434 /* If this is a type name (such as, in a cast or sizeof),
6496 /* A parameter declared as an array of T is really a pointer to T.
6497 One declared as a function is really a pointer to a function. */
6553 (For example, shorts and chars are passed as ints.)
6578 error_at (loc, "field %qE declared as a function", name);
7025 error ("%<void%> as only parameter may not be qualified");
7098 meaningful as a GNU extension, so don't warn for that. */
7133 to reconstruct whether it was marked as nested. */
7171 Define the tag as a forward-reference with location LOC if it is
7237 and record it as the "definition".
7262 Define the tag as a forward-reference if it is not defined.
7273 at least as a forward reference.
7287 (as a forward reference), just return it. */
7340 terribly serious as C++ doesn't permit statement exprs within
7355 DECL_ATTRS is as for grokdeclarator.
7379 If MS or Plan 9 extensions are enabled, this is handled as
7550 an instance variable in a subclass with the same name as an
7646 ("using %qD as both field and typedef name is "
7677 /* If this type was previously laid out as a forward reference,
7715 /* Install struct as DECL_CONTEXT of each field decl.
7743 treated in some ways as volatile. */
7865 ensure that this lives as long as the rest of the struct decl.
7981 Returns the type object, as yet incomplete.
7983 may be used to declare the individual values as they are read. */
8029 as C++ doesn't permit statement exprs within sizeof anyhow. */
8076 as one of the integral types - the narrowest one that fits, except
8077 that normally we only go as narrow as int - and signed iff any of
8137 integer type as an extensions. build_enumerator()
8254 type of enumeration constants is explicitly defined as int
8255 (6.4.4.3/2 in the C99 Standard). GCC allows any integer type as
8263 However, GCC allows enumerators of any integer type as an
8303 as well as setting up the FUNCTION_DECL in current_function_decl.
8534 need only record them as in effect and complain if any redundant
8638 "%qD declared as a non-parameter", decl);
8813 been diagnosed as conflicting with an
8911 list in a function definition as equivalent to (void) -- an
9020 /* Must mark the RESULT_DECL as being in this function. */
9030 is unreachable, so we mark its location as special. Using
9107 requires GENERIC, delay that as well. */
9157 flag_isoc99 as that parameter. But in some cases (Objective-C
9318 functions are not called from anywhere in the C front end, but as
9331 /* Return the global value of T as a symbol. */
9508 struct c_declspecs *specs, addr_space_t as)
9514 && specs->address_space != as)
9516 c_addr_space_name (as),
9520 specs->address_space = as;
10248 form of ObjC type, cases such as "int" and "long" being handled
10339 it seems simplest to permit it in gnu89 mode as well, as
10340 there is also little utility in maintaining this as a
10475 /* If a type was specified as a whole, we have no modifiers and are
10490 has been specified, treat it as "int" unless "_Complex" is
10914 /* Register reserved keyword WORD as qualifier for address space AS. */
10917 c_register_addr_space (const char *word, addr_space_t as)
10919 int rid = RID_FIRST_ADDR_SPACE + as;