*参照元 [#g18226d1] #backlinks *説明 [#s3e7e075] -パス: [[gcc-8.3/gcc/c-family/c-common.c]] -FIXME: これは何? --説明 **引数 [#zea07089] -tree type -- --[[gcc-8.3/gcc/tree]] -const char* name -- **返り値 [#idccdd7a] -なし **参考 [#b9f791aa] *実装 [#abe88fdf] /* The C version of the register_builtin_type langhook. */ void c_register_builtin_type (tree type, const char* name) { tree decl; decl = build_decl (UNKNOWN_LOCATION, TYPE_DECL, get_identifier (name), type); DECL_ARTIFICIAL (decl) = 1; - --[[gcc-8.3/gcc/build_decl()]] --[[gcc-8.3/gcc/get_identifier()]] --[[gcc-8.3/gcc/DECL_ARTIFICIAL()]] if (!TYPE_NAME (type)) TYPE_NAME (type) = decl; lang_hooks.decls.pushdecl (decl); registered_builtin_types = tree_cons (0, type, registered_builtin_types); } - --[[gcc-8.3/gcc/TYPE_NAME()]] --[[gcc-8.3/gcc/pushdecl()]] --[[gcc-8.3/gcc/tree_cons()]] *コメント [#rc0f4a1d]