Lines Matching defs:fntype
6157 tree fntype;
6170 fntype = TREE_TYPE (get_atexit_fn_ptr_type ());
6171 fndecl = build_lang_decl (FUNCTION_DECL, get_identifier (name), fntype);
11676 tree fntype = TREE_TYPE (decl);
11677 tree return_type = complete_type (TREE_TYPE (fntype));
11691 tree args = TYPE_ARG_TYPES (fntype);
11699 if (TREE_CODE (fntype) == METHOD_TYPE)
11700 fntype = build_method_type_directly (TREE_TYPE (TREE_VALUE (args)),
11704 fntype = build_function_type (void_type_node, args);
11705 fntype
11706 = build_exception_variant (fntype,
11708 fntype = (cp_build_type_attribute_variant
11709 (fntype, TYPE_ATTRIBUTES (TREE_TYPE (decl))));
11710 TREE_TYPE (decl) = fntype;
11713 abstract_virtuals_error (decl, TREE_TYPE (fntype));
11744 tree fntype;
11757 fntype = TREE_TYPE (decl1);
11758 if (TREE_CODE (fntype) == METHOD_TYPE)
11759 ctype = TYPE_METHOD_BASETYPE (fntype);
11823 && TREE_CODE (TREE_TYPE (fntype)) == VOID_TYPE)
11860 restype = TREE_TYPE (fntype);
11931 fntype = TREE_TYPE (decl1);
12467 tree fntype, ctype = NULL_TREE;
12489 fntype = TREE_TYPE (fndecl);
12612 && TREE_CODE (TREE_TYPE (fntype)) != VOID_TYPE
12613 && !dependent_type_p (TREE_TYPE (fntype))
12922 tree fntype;
12935 fntype = build_function_type (TREE_TYPE (memfntype), TREE_CHAIN (args));
12937 fntype = build_qualified_type (fntype, quals);
12938 fntype = (cp_build_type_attribute_variant
12939 (fntype, TYPE_ATTRIBUTES (memfntype)));
12940 fntype = (build_exception_variant
12941 (fntype, TYPE_RAISES_EXCEPTIONS (memfntype)));
12942 return fntype;