*参照元 [#e80bc1c8]
#backlinks

*説明 [#h27cd827]
-パス: [[gcc-8.3/gcc/tree.h]]

-FIXME: これは何?
--説明
--tree の typed.type を返す。


**引数 [#mc2c362c]
-tree NODE
--
--[[gcc-8.3/gcc/tree]]


**返り値 [#wd75c326]
-tree
--


**参考 [#oc6d396a]


*実装 [#nfa63016]
 /* When checking is enabled, errors will be generated if a tree node
    is accessed incorrectly. The macros die with a fatal error.  */
 #if defined ENABLE_TREE_CHECKING && (GCC_VERSION >= 2007)
 
 //...
 
 /* In all nodes that are expressions, this is the data type of the expression.
    In POINTER_TYPE nodes, this is the type that the pointer points to.
    In ARRAY_TYPE nodes, this is the type of the elements.
    In VECTOR_TYPE nodes, this is the type of the elements.  */
 #define TREE_TYPE(NODE) \
 (CONTAINS_STRUCT_CHECK (NODE, TS_TYPED)->typed.type)
-
--[[gcc-8.3/gcc/CONTAINS_STRUCT_CHECK()]]

 #else /* not ENABLE_TREE_CHECKING, or not gcc */
 
 //...
 
 #define TREE_TYPE(NODE) ((NODE)->typed.type)
-
--typed は tree_typed 型
--[[gcc-8.3/gcc/tree_typed]]
--typed.type は tree 型
--[[gcc-8.3/gcc/tree]]


*コメント [#b2102174]

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS