Lines Matching refs:Expr
772 bool Sema::CheckExceptionSpecCompatibility(Expr *From, QualType ToType) { in CheckExceptionSpecCompatibility()
840 static CanThrowResult canSubExprsThrow(Sema &S, const Expr *CE) { in canSubExprsThrow()
841 Expr *E = const_cast<Expr*>(CE); in canSubExprsThrow()
843 for (Expr::child_range I = E->children(); I && R != CT_Can; ++I) in canSubExprsThrow()
844 R = mergeCanThrow(R, S.canThrow(cast<Expr>(*I))); in canSubExprsThrow()
848 static CanThrowResult canCalleeThrow(Sema &S, const Expr *E, const Decl *D) { in canCalleeThrow()
900 Expr *Op = DC->getExprOperand(); in canTypeidThrow()
917 CanThrowResult Sema::canThrow(const Expr *E) { in canThrow()
922 case Expr::CXXThrowExprClass: in canThrow()
926 case Expr::CXXDynamicCastExprClass: { in canThrow()
935 case Expr::CXXTypeidExprClass: in canThrow()
943 case Expr::CallExprClass: in canThrow()
944 case Expr::CXXMemberCallExprClass: in canThrow()
945 case Expr::CXXOperatorCallExprClass: in canThrow()
946 case Expr::UserDefinedLiteralClass: { in canThrow()
962 case Expr::CXXConstructExprClass: in canThrow()
963 case Expr::CXXTemporaryObjectExprClass: { in canThrow()
971 case Expr::LambdaExprClass: { in canThrow()
981 case Expr::CXXNewExprClass: { in canThrow()
992 case Expr::CXXDeleteExprClass: { in canThrow()
1012 case Expr::CXXBindTemporaryExprClass: { in canThrow()
1023 case Expr::ObjCMessageExprClass: in canThrow()
1024 case Expr::ObjCPropertyRefExprClass: in canThrow()
1025 case Expr::ObjCSubscriptRefExprClass: in canThrow()
1031 case Expr::ObjCArrayLiteralClass: in canThrow()
1032 case Expr::ObjCDictionaryLiteralClass: in canThrow()
1033 case Expr::ObjCBoxedExprClass: in canThrow()
1038 case Expr::ConditionalOperatorClass: in canThrow()
1039 case Expr::CompoundLiteralExprClass: in canThrow()
1040 case Expr::CXXConstCastExprClass: in canThrow()
1041 case Expr::CXXReinterpretCastExprClass: in canThrow()
1042 case Expr::CXXStdInitializerListExprClass: in canThrow()
1043 case Expr::DesignatedInitExprClass: in canThrow()
1044 case Expr::ExprWithCleanupsClass: in canThrow()
1045 case Expr::ExtVectorElementExprClass: in canThrow()
1046 case Expr::InitListExprClass: in canThrow()
1047 case Expr::MemberExprClass: in canThrow()
1048 case Expr::ObjCIsaExprClass: in canThrow()
1049 case Expr::ObjCIvarRefExprClass: in canThrow()
1050 case Expr::ParenExprClass: in canThrow()
1051 case Expr::ParenListExprClass: in canThrow()
1052 case Expr::ShuffleVectorExprClass: in canThrow()
1053 case Expr::ConvertVectorExprClass: in canThrow()
1054 case Expr::VAArgExprClass: in canThrow()
1058 case Expr::ArraySubscriptExprClass: in canThrow()
1059 case Expr::BinaryOperatorClass: in canThrow()
1060 case Expr::CompoundAssignOperatorClass: in canThrow()
1061 case Expr::CStyleCastExprClass: in canThrow()
1062 case Expr::CXXStaticCastExprClass: in canThrow()
1063 case Expr::CXXFunctionalCastExprClass: in canThrow()
1064 case Expr::ImplicitCastExprClass: in canThrow()
1065 case Expr::MaterializeTemporaryExprClass: in canThrow()
1066 case Expr::UnaryOperatorClass: { in canThrow()
1072 case Expr::StmtExprClass: in canThrow()
1075 case Expr::CXXDefaultArgExprClass: in canThrow()
1078 case Expr::CXXDefaultInitExprClass: in canThrow()
1081 case Expr::ChooseExprClass: in canThrow()
1086 case Expr::GenericSelectionExprClass: in canThrow()
1092 case Expr::CXXDependentScopeMemberExprClass: in canThrow()
1093 case Expr::CXXUnresolvedConstructExprClass: in canThrow()
1094 case Expr::DependentScopeDeclRefExprClass: in canThrow()
1095 case Expr::CXXFoldExprClass: in canThrow()
1098 case Expr::AsTypeExprClass: in canThrow()
1099 case Expr::BinaryConditionalOperatorClass: in canThrow()
1100 case Expr::BlockExprClass: in canThrow()
1101 case Expr::CUDAKernelCallExprClass: in canThrow()
1102 case Expr::DeclRefExprClass: in canThrow()
1103 case Expr::ObjCBridgedCastExprClass: in canThrow()
1104 case Expr::ObjCIndirectCopyRestoreExprClass: in canThrow()
1105 case Expr::ObjCProtocolExprClass: in canThrow()
1106 case Expr::ObjCSelectorExprClass: in canThrow()
1107 case Expr::OffsetOfExprClass: in canThrow()
1108 case Expr::PackExpansionExprClass: in canThrow()
1109 case Expr::PseudoObjectExprClass: in canThrow()
1110 case Expr::SubstNonTypeTemplateParmExprClass: in canThrow()
1111 case Expr::SubstNonTypeTemplateParmPackExprClass: in canThrow()
1112 case Expr::FunctionParmPackExprClass: in canThrow()
1113 case Expr::UnaryExprOrTypeTraitExprClass: in canThrow()
1114 case Expr::UnresolvedLookupExprClass: in canThrow()
1115 case Expr::UnresolvedMemberExprClass: in canThrow()
1116 case Expr::TypoExprClass: in canThrow()
1120 case Expr::AddrLabelExprClass: in canThrow()
1121 case Expr::ArrayTypeTraitExprClass: in canThrow()
1122 case Expr::AtomicExprClass: in canThrow()
1123 case Expr::TypeTraitExprClass: in canThrow()
1124 case Expr::CXXBoolLiteralExprClass: in canThrow()
1125 case Expr::CXXNoexceptExprClass: in canThrow()
1126 case Expr::CXXNullPtrLiteralExprClass: in canThrow()
1127 case Expr::CXXPseudoDestructorExprClass: in canThrow()
1128 case Expr::CXXScalarValueInitExprClass: in canThrow()
1129 case Expr::CXXThisExprClass: in canThrow()
1130 case Expr::CXXUuidofExprClass: in canThrow()
1131 case Expr::CharacterLiteralClass: in canThrow()
1132 case Expr::ExpressionTraitExprClass: in canThrow()
1133 case Expr::FloatingLiteralClass: in canThrow()
1134 case Expr::GNUNullExprClass: in canThrow()
1135 case Expr::ImaginaryLiteralClass: in canThrow()
1136 case Expr::ImplicitValueInitExprClass: in canThrow()
1137 case Expr::IntegerLiteralClass: in canThrow()
1138 case Expr::ObjCEncodeExprClass: in canThrow()
1139 case Expr::ObjCStringLiteralClass: in canThrow()
1140 case Expr::ObjCBoolLiteralExprClass: in canThrow()
1141 case Expr::OpaqueValueExprClass: in canThrow()
1142 case Expr::PredefinedExprClass: in canThrow()
1143 case Expr::SizeOfPackExprClass: in canThrow()
1144 case Expr::StringLiteralClass: in canThrow()
1148 case Expr::MSPropertyRefExprClass: in canThrow()
1151 #define STMT(CLASS, PARENT) case Expr::CLASS##Class: in canThrow()
1157 case Expr::NoStmtClass: in canThrow()