Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSema.cpp391 QualType ExprTy = Context.getCanonicalType(E->getType()); in ImpCastExprToType() local
394 if (ExprTy == TypeTy) in ImpCastExprToType()
1378 QualType ExprTy = E.getType(); in tryExprAsCall() local
1380 QualType PointeeTy = ExprTy->getPointeeType(); in tryExprAsCall()
1384 FunTy = ExprTy->getAs<FunctionType>(); in tryExprAsCall()
DSemaChecking.cpp4239 QualType ExprTy = E->getType(); in checkFormatExpr() local
4240 while (const TypeOfExprType *TET = dyn_cast<TypeOfExprType>(ExprTy)) { in checkFormatExpr()
4241 ExprTy = TET->getUnderlyingExpr()->getType(); in checkFormatExpr()
4244 analyze_printf::ArgType::MatchKind match = AT.matchesType(S.Context, ExprTy); in checkFormatExpr()
4258 ExprTy = E->getType(); in checkFormatExpr()
4266 if (AT.matchesType(S.Context, ExprTy)) in checkFormatExpr()
4274 if (ExprTy == S.Context.IntTy) in checkFormatExpr()
4276 ExprTy = S.Context.CharTy; in checkFormatExpr()
4281 if (auto EnumTy = ExprTy->getAs<EnumType>()) { in checkFormatExpr()
4282 ExprTy = EnumTy->getDecl()->getIntegerType(); in checkFormatExpr()
[all …]
DSemaInit.cpp910 QualType ExprTy = T; in CheckExplicitInitList() local
911 if (!ExprTy->isArrayType()) in CheckExplicitInitList()
912 ExprTy = ExprTy.getNonLValueExprType(SemaRef.Context); in CheckExplicitInitList()
913 IList->setType(ExprTy); in CheckExplicitInitList()
914 StructuredList->setType(ExprTy); in CheckExplicitInitList()
DSemaExpr.cpp3545 QualType ExprTy = E->getType(); in CheckUnaryExprOrTypeTraitOperand() local
3546 assert(!ExprTy->isReferenceType()); in CheckUnaryExprOrTypeTraitOperand()
3549 return CheckVecStepTraitOperandType(*this, ExprTy, E->getExprLoc(), in CheckUnaryExprOrTypeTraitOperand()
3553 if (!CheckExtensionTraitOperandType(*this, ExprTy, E->getExprLoc(), in CheckUnaryExprOrTypeTraitOperand()
3574 ExprTy = E->getType(); in CheckUnaryExprOrTypeTraitOperand()
3575 assert(!ExprTy->isReferenceType()); in CheckUnaryExprOrTypeTraitOperand()
3577 if (ExprTy->isFunctionType()) { in CheckUnaryExprOrTypeTraitOperand()
3589 if (CheckObjCTraitOperandConstraints(*this, ExprTy, E->getExprLoc(), in CheckUnaryExprOrTypeTraitOperand()
/external/clang/lib/CodeGen/
DCGStmt.cpp328 QualType ExprTy = cast<Expr>(LastStmt)->getType(); in EmitCompoundStmtWithoutScope() local
329 if (hasAggregateEvaluationKind(ExprTy)) { in EmitCompoundStmtWithoutScope()
335 RetAlloca = CreateMemTemp(ExprTy); in EmitCompoundStmtWithoutScope()
DCGExpr.cpp2178 QualType ExprTy = getContext().getCanonicalType(E->getSubExpr()->getType()); in EmitUnaryOpLValue() local
2188 LV.getQuals().setAddressSpace(ExprTy.getAddressSpace()); in EmitUnaryOpLValue()
2219 return MakeAddrLValue(Component, ExprTy, LV.getAlignmentSource()); in EmitUnaryOpLValue()