GCC Wikia
Advertisement

このページを編集する際は,編集に関する方針に従ってください.[]

概要[]

  • gcc-4.1.0/gcc/tree.hにて定義
  • TYPEが整数型を表現するならば0以外を返す
    • 複素数型を含めていない

引数[]

実装[]

 779 /* Nonzero if TYPE represents an integral type.  Note that we do not
 780    include COMPLEX types here.  Keep these checks in ascending code
 781    order.  */
782 
783 #define INTEGRAL_TYPE_P(TYPE)  \
784   (TREE_CODE (TYPE) == [[ENUMERAL_TYPE>enum tree_code]]  \
785    || TREE_CODE (TYPE) == [[BOOLEAN_TYPE>enum tree_code]] \
786    || TREE_CODE (TYPE) == [[CHAR_TYPE>enum tree_code]] \
787    || TREE_CODE (TYPE) == [[INTEGER_TYPE>enum tree_code]])


リンク元

Advertisement