Home | History | Annotate | Download | only in lint1

Lines Matching defs:nst

3837 should_warn_about_pointer_cast(const type_t *nstp, tspec_t nst,
3841 while (nst == ARRAY)
3842 nstp = nstp->t_subt, nst = nstp->t_tspec;
3846 if (nst == STRUCT && ost == STRUCT &&
3854 if (nst == CHAR || nst == UCHAR)
3860 if (nst == STRUCT && ost == STRUCT) {
3875 if (nst == UNION || ost == UNION) {
3876 const type_t *union_tp = nst == UNION ? nstp : ostp;
3877 const type_t *other_tp = nst
3882 if (is_struct_or_union(nst) && is_struct_or_union(ost))
3885 enum rank_kind rk1 = type_properties(nst)->tt_rank_kind;
3890 return portable_rank_cmp(nst, ost) != 0;
3899 tspec_t nst = nstp->t_tspec;
3902 if (nst == VOID || ost == VOID) {
3904 if (!allow_trad && !allow_c99 && (nst == FUNC || ost == FUNC)) {
3907 *(nst == FUNC ? &nts : &ots) = "function pointer";
3908 *(nst == VOID ? &nts : &ots) = "'void *'";
3914 if (nst == FUNC && ost == FUNC)
3916 if (nst == FUNC || ost == FUNC) {
3924 !(nst == UNION && union_contains(nstp, ostp))) {
3930 if (cflag && should_warn_about_pointer_cast(nstp, nst, ostp, ost)) {