• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/

Lines Matching refs:LTy

6048   QualType LTy = LHS.get()->getType();
6050 bool LVoid = LTy->isVoidType();
6086 << (LVoid ? RTy : LTy) << (LVoid ? 0 : 1)
6099 if (!Context.hasSameType(LTy, RTy) &&
6100 (LTy->isRecordType() || RTy->isRecordType())) {
6112 << LTy << RTy << LHS.get()->getSourceRange() << RHS.get()->getSourceRange();
6122 LTy = LHS.get()->getType();
6139 // FIXME: If LTy and RTy have a composite pointer type, should we convert to
6143 if (!Context.hasSameType(LTy, RTy) &&
6153 if (CompareReferenceRelationship(QuestionLoc, LTy, RTy, &RefConv) ==
6159 RHS = ImpCastExprToType(RHS.get(), LTy, CK_NoOp, RVK);
6161 } else if (CompareReferenceRelationship(QuestionLoc, RTy, LTy, &RefConv) ==
6167 LTy = LHS.get()->getType();
6178 bool Same = Context.hasSameType(LTy, RTy);
6189 if (LTy->isFunctionPointerType() || LTy->isMemberFunctionPointerType()) {
6190 Qualifiers Qs = LTy.getQualifiers();
6191 LTy = FindCompositePointerType(QuestionLoc, LHS, RHS,
6193 LTy = Context.getQualifiedType(LTy, Qs);
6195 assert(!LTy.isNull() && "failed to find composite pointer type for "
6197 assert(Context.hasSameType(LTy, RTy) && "bad composite pointer type");
6200 return LTy;
6206 if (!Same && (LTy->isRecordType() || RTy->isRecordType())) {
6221 LTy = LHS.get()->getType();
6230 if (Context.getCanonicalType(LTy) == Context.getCanonicalType(RTy)) {
6231 if (LTy->isRecordType()) {
6233 InitializedEntity Entity = InitializedEntity::InitializeTemporary(LTy);
6253 if (LTy->isFunctionPointerType() || LTy->isMemberFunctionPointerType()) {
6254 LTy = FindCompositePointerType(QuestionLoc, LHS, RHS);
6255 assert(!LTy.isNull() && "failed to find composite pointer type for "
6259 return LTy;
6263 if (LTy->isVectorType() || RTy->isVectorType())
6271 if (LTy->isArithmeticType() && RTy->isArithmeticType()) {
6278 diag::err_typecheck_cond_incompatible_operands) << LTy << RTy