Home
last modified time | relevance | path

Searched refs:ExprTy (Results 1 – 7 of 7) sorted by relevance

/external/clang/lib/Sema/
DSema.cpp390 QualType ExprTy = Context.getCanonicalType(E->getType()); in ImpCastExprToType() local
393 if (ExprTy == TypeTy) in ImpCastExprToType()
1371 QualType ExprTy = E.getType(); in tryExprAsCall() local
1373 QualType PointeeTy = ExprTy->getPointeeType(); in tryExprAsCall()
1377 FunTy = ExprTy->getAs<FunctionType>(); in tryExprAsCall()
DSemaChecking.cpp5123 QualType ExprTy = E->getType(); in checkFormatExpr() local
5124 while (const TypeOfExprType *TET = dyn_cast<TypeOfExprType>(ExprTy)) { in checkFormatExpr()
5125 ExprTy = TET->getUnderlyingExpr()->getType(); in checkFormatExpr()
5128 analyze_printf::ArgType::MatchKind match = AT.matchesType(S.Context, ExprTy); in checkFormatExpr()
5142 ExprTy = E->getType(); in checkFormatExpr()
5150 if (AT.matchesType(S.Context, ExprTy)) in checkFormatExpr()
5158 if (ExprTy == S.Context.IntTy) in checkFormatExpr()
5160 ExprTy = S.Context.CharTy; in checkFormatExpr()
5165 if (auto EnumTy = ExprTy->getAs<EnumType>()) { in checkFormatExpr()
5166 ExprTy = EnumTy->getDecl()->getIntegerType(); in checkFormatExpr()
[all …]
DSemaInit.cpp969 QualType ExprTy = T; in CheckExplicitInitList() local
970 if (!ExprTy->isArrayType()) in CheckExplicitInitList()
971 ExprTy = ExprTy.getNonLValueExprType(SemaRef.Context); in CheckExplicitInitList()
972 IList->setType(ExprTy); in CheckExplicitInitList()
973 StructuredList->setType(ExprTy); in CheckExplicitInitList()
DSemaExpr.cpp3621 QualType ExprTy = E->getType(); in CheckUnaryExprOrTypeTraitOperand() local
3622 assert(!ExprTy->isReferenceType()); in CheckUnaryExprOrTypeTraitOperand()
3625 return CheckVecStepTraitOperandType(*this, ExprTy, E->getExprLoc(), in CheckUnaryExprOrTypeTraitOperand()
3629 if (!CheckExtensionTraitOperandType(*this, ExprTy, E->getExprLoc(), in CheckUnaryExprOrTypeTraitOperand()
3650 ExprTy = E->getType(); in CheckUnaryExprOrTypeTraitOperand()
3651 assert(!ExprTy->isReferenceType()); in CheckUnaryExprOrTypeTraitOperand()
3653 if (ExprTy->isFunctionType()) { in CheckUnaryExprOrTypeTraitOperand()
3665 if (CheckObjCTraitOperandConstraints(*this, ExprTy, E->getExprLoc(), in CheckUnaryExprOrTypeTraitOperand()
/external/clang/lib/CodeGen/
DCGStmt.cpp358 QualType ExprTy = cast<Expr>(LastStmt)->getType(); in EmitCompoundStmtWithoutScope() local
359 if (hasAggregateEvaluationKind(ExprTy)) { in EmitCompoundStmtWithoutScope()
365 RetAlloca = CreateMemTemp(ExprTy); in EmitCompoundStmtWithoutScope()
DCGExpr.cpp2217 QualType ExprTy = getContext().getCanonicalType(E->getSubExpr()->getType()); in EmitUnaryOpLValue() local
2227 LV.getQuals().setAddressSpace(ExprTy.getAddressSpace()); in EmitUnaryOpLValue()
2258 return MakeAddrLValue(Component, ExprTy, LV.getAlignmentSource()); in EmitUnaryOpLValue()
DCGOpenMPRuntime.cpp5005 auto ExprTy = E->getType().getCanonicalType(); in getExprTypeSize() local
5008 if (auto *RefTy = ExprTy->getAs<ReferenceType>()) in getExprTypeSize()
5009 ExprTy = RefTy->getPointeeType().getCanonicalType(); in getExprTypeSize()
5043 return CGF.getTypeSize(ExprTy); in getExprTypeSize()