Home
last modified time | relevance | path

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

/external/llvm-project/clang/include/clang/AST/
DExprOpenMP.h158 OMPArrayShapingExpr(QualType ExprTy, Expr *Op, SourceLocation L,
320 OMPIteratorExpr(QualType ExprTy, SourceLocation IteratorKwLoc,
/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/llvm-project/clang/lib/Sema/
DSema.cpp573 QualType ExprTy = Context.getCanonicalType(E->getType()); in ImpCastExprToType() local
576 if (ExprTy == TypeTy) in ImpCastExprToType()
2239 QualType ExprTy = E.getType(); in tryExprAsCall() local
2241 QualType PointeeTy = ExprTy->getPointeeType(); in tryExprAsCall()
2245 FunTy = ExprTy->getAs<FunctionType>(); in tryExprAsCall()
DSemaChecking.cpp8575 QualType ExprTy = E->getType(); in checkFormatExpr() local
8576 while (const TypeOfExprType *TET = dyn_cast<TypeOfExprType>(ExprTy)) { in checkFormatExpr()
8577 ExprTy = TET->getUnderlyingExpr()->getType(); in checkFormatExpr()
8596 analyze_printf::ArgType::MatchKind Match = AT.matchesType(S.Context, ExprTy); in checkFormatExpr()
8608 ExprTy = E->getType(); in checkFormatExpr()
8617 AT.matchesType(S.Context, ExprTy); in checkFormatExpr()
8629 if (ExprTy == S.Context.IntTy) in checkFormatExpr()
8631 ExprTy = S.Context.CharTy; in checkFormatExpr()
8636 if (auto EnumTy = ExprTy->getAs<EnumType>()) { in checkFormatExpr()
8637 ExprTy = EnumTy->getDecl()->getIntegerType(); in checkFormatExpr()
[all …]
DSemaInit.cpp1186 QualType ExprTy = T; in CheckExplicitInitList() local
1187 if (!ExprTy->isArrayType()) in CheckExplicitInitList()
1188 ExprTy = ExprTy.getNonLValueExprType(SemaRef.Context); in CheckExplicitInitList()
1190 IList->setType(ExprTy); in CheckExplicitInitList()
1191 StructuredList->setType(ExprTy); in CheckExplicitInitList()
DSemaExpr.cpp4087 QualType ExprTy = E->getType(); in CheckUnaryExprOrTypeTraitOperand() local
4088 assert(!ExprTy->isReferenceType()); in CheckUnaryExprOrTypeTraitOperand()
4101 return CheckVecStepTraitOperandType(*this, ExprTy, E->getExprLoc(), in CheckUnaryExprOrTypeTraitOperand()
4105 if (!CheckExtensionTraitOperandType(*this, ExprTy, E->getExprLoc(), in CheckUnaryExprOrTypeTraitOperand()
4127 ExprTy = E->getType(); in CheckUnaryExprOrTypeTraitOperand()
4128 assert(!ExprTy->isReferenceType()); in CheckUnaryExprOrTypeTraitOperand()
4130 if (ExprTy->isFunctionType()) { in CheckUnaryExprOrTypeTraitOperand()
4142 if (CheckObjCTraitOperandConstraints(*this, ExprTy, E->getExprLoc(), in CheckUnaryExprOrTypeTraitOperand()
DSemaOpenMP.cpp16541 QualType ExprTy = RefExpr->getType().getNonReferenceType(); in ActOnOpenMPDependClause() local
16547 ExprTy = ATy->getElementType(); in ActOnOpenMPDependClause()
16549 ExprTy = BaseType->getPointeeType(); in ActOnOpenMPDependClause()
16550 ExprTy = ExprTy.getNonReferenceType(); in ActOnOpenMPDependClause()
16571 DSAStack->getOMPDependT().getTypePtr() == ExprTy.getTypePtr())) { in ActOnOpenMPDependClause()
/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()
/external/llvm-project/clang/lib/CodeGen/
DCGStmt.cpp464 QualType ExprTy = E->getType(); in EmitCompoundStmtWithoutScope() local
465 if (hasAggregateEvaluationKind(ExprTy)) { in EmitCompoundStmtWithoutScope()
471 RetAlloca = CreateMemTemp(ExprTy); in EmitCompoundStmtWithoutScope()
DCGExpr.cpp2866 QualType ExprTy = getContext().getCanonicalType(E->getSubExpr()->getType()); in EmitUnaryOpLValue() local
2878 LV.getQuals().setAddressSpace(ExprTy.getAddressSpace()); in EmitUnaryOpLValue()
2903 QualType T = ExprTy->castAs<ComplexType>()->getElementType(); in EmitUnaryOpLValue()
DCGOpenMPRuntime.cpp7216 QualType ExprTy = E->getType().getCanonicalType(); in getExprTypeSize() local
7233 if (const auto *RefTy = ExprTy->getAs<ReferenceType>()) in getExprTypeSize()
7234 ExprTy = RefTy->getPointeeType().getCanonicalType(); in getExprTypeSize()
7287 return CGF.getTypeSize(ExprTy); in getExprTypeSize()
/external/llvm-project/clang/lib/AST/
DExpr.cpp4685 OMPArrayShapingExpr::OMPArrayShapingExpr(QualType ExprTy, Expr *Op, in OMPArrayShapingExpr() argument
4688 : Expr(OMPArrayShapingExprClass, ExprTy, VK_LValue, OK_Ordinary), LPLoc(L), in OMPArrayShapingExpr()
4807 QualType ExprTy, SourceLocation IteratorKwLoc, SourceLocation L, in OMPIteratorExpr() argument
4810 : Expr(OMPIteratorExprClass, ExprTy, VK_LValue, OK_Ordinary), in OMPIteratorExpr()