Home
last modified time | relevance | path

Searched refs:rhptee (Results 1 – 2 of 2) sorted by relevance

/freebsd-12-stable/contrib/gcc/
Dc-typeck.c79 static bool types_are_block_compatible (tree lhptee, tree rhptee);
3824 types_are_block_compatible (tree lhptee, tree rhptee) in types_are_block_compatible() argument
3826 if (TYPE_MAIN_VARIANT (lhptee) == TYPE_MAIN_VARIANT (rhptee)) in types_are_block_compatible()
3828 if (TREE_CODE (lhptee) == FUNCTION_TYPE && TREE_CODE (rhptee) == FUNCTION_TYPE) in types_are_block_compatible()
3829 return functiontypes_are_block_compatible (lhptee, rhptee); in types_are_block_compatible()
3831 if (TREE_CODE (lhptee) == POINTER_TYPE && TREE_CODE (rhptee) == POINTER_TYPE) in types_are_block_compatible()
3832 return types_are_block_compatible (TREE_TYPE (lhptee), TREE_TYPE (rhptee)); in types_are_block_compatible()
3836 && TREE_CODE (rhptee) == BLOCK_POINTER_TYPE) in types_are_block_compatible()
3837 return types_are_block_compatible (TREE_TYPE (lhptee), TREE_TYPE (rhptee)); in types_are_block_compatible()
4541 tree rhptee = TREE_TYPE(rhstype); in convert_for_assignment() local
[all …]
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
DSemaExpr.cpp7883 QualType lhptee, rhptee; in checkConditionalPointerCompatibility() local
7889 rhptee = RHSTy->castAs<BlockPointerType>()->getPointeeType(); in checkConditionalPointerCompatibility()
7893 rhptee = RHSTy->castAs<PointerType>()->getPointeeType(); in checkConditionalPointerCompatibility()
7906 Qualifiers rhQual = rhptee.getQualifiers(); in checkConditionalPointerCompatibility()
7948 rhptee = S.Context.getQualifiedType(rhptee.getUnqualifiedType(), rhQual); in checkConditionalPointerCompatibility()
7950 QualType CompositeTy = S.Context.mergeTypes(lhptee, rhptee); in checkConditionalPointerCompatibility()
8036 QualType rhptee = RHSTy->castAs<PointerType>()->getPointeeType(); in checkConditionalObjectPointersCompatibility() local
8039 if (lhptee->isVoidType() && rhptee->isIncompleteOrObjectType()) { in checkConditionalObjectPointersCompatibility()
8042 = S.Context.getQualifiedType(lhptee, rhptee.getQualifiers()); in checkConditionalObjectPointersCompatibility()
8050 if (rhptee->isVoidType() && lhptee->isIncompleteOrObjectType()) { in checkConditionalObjectPointersCompatibility()
[all …]