Home
last modified time | relevance | path

Searched refs:SrcExpr (Results 1 – 10 of 10) sorted by relevance

/external/clang/lib/Sema/
DSemaCast.cpp51 : Self(S), SrcExpr(src), DestType(destType), in CastOperation()
65 ExprResult SrcExpr; member
119 Self.CheckCastAlign(SrcExpr.get(), DestType, OpRange); in checkCastAlign()
125 Expr *src = SrcExpr.get(); in checkObjCARCConversion()
129 SrcExpr = src; in checkObjCARCConversion()
137 SrcExpr = Self.CheckPlaceholderExpr(SrcExpr.get()); in checkNonOverloadPlaceholders()
138 if (SrcExpr.isInvalid()) in checkNonOverloadPlaceholders()
159 static TryCastResult TryLValueToRValueCast(Sema &Self, Expr *SrcExpr,
164 static TryCastResult TryStaticReferenceDowncast(Sema &Self, Expr *SrcExpr,
183 static TryCastResult TryStaticMemberPointerUpcast(Sema &Self, ExprResult &SrcExpr,
[all …]
DSemaExprObjC.cpp3571 Expr *&SrcExpr) { in CheckObjCBridgeRelatedConversions() argument
3594 SourceLocation SrcExprEndLoc = PP.getLocForEndOfToken(SrcExpr->getLocEnd()); in CheckObjCBridgeRelatedConversions()
3598 << FixItHint::CreateInsertion(SrcExpr->getLocStart(), ExpressionString) in CheckObjCBridgeRelatedConversions()
3606 Expr *args[] = { SrcExpr }; in CheckObjCBridgeRelatedConversions()
3611 SrcExpr = msg.get(); in CheckObjCBridgeRelatedConversions()
3619 SourceLocation SrcExprEndLoc = PP.getLocForEndOfToken(SrcExpr->getLocEnd()); in CheckObjCBridgeRelatedConversions()
3637 << FixItHint::CreateInsertion(SrcExpr->getLocStart(), "[") in CheckObjCBridgeRelatedConversions()
3644 BuildInstanceMessageImplicit(SrcExpr, SrcType, in CheckObjCBridgeRelatedConversions()
3648 SrcExpr = msg.get(); in CheckObjCBridgeRelatedConversions()
DSemaStmt.cpp1159 Expr *SrcExpr) { in DiagnoseAssignmentEnum() argument
1160 if (Diags.isIgnored(diag::warn_not_in_enum_assignment, SrcExpr->getExprLoc())) in DiagnoseAssignmentEnum()
1166 if (!SrcExpr->isTypeDependent() && !SrcExpr->isValueDependent() && in DiagnoseAssignmentEnum()
1167 SrcExpr->isIntegerConstantExpr(Context)) { in DiagnoseAssignmentEnum()
1172 llvm::APSInt RhsVal = SrcExpr->EvaluateKnownConstInt(Context); in DiagnoseAssignmentEnum()
1197 Diag(SrcExpr->getExprLoc(), diag::warn_not_in_enum_assignment) in DiagnoseAssignmentEnum()
DSemaExpr.cpp10824 Expr *SrcExpr = Exp->IgnoreParenImpCasts(); in ConversionToObjCStringLiteralCheck() local
10825 if (OpaqueValueExpr *OV = dyn_cast<OpaqueValueExpr>(SrcExpr)) in ConversionToObjCStringLiteralCheck()
10827 SrcExpr = OV->getSourceExpr()->IgnoreParenImpCasts(); in ConversionToObjCStringLiteralCheck()
10829 StringLiteral *SL = dyn_cast<StringLiteral>(SrcExpr); in ConversionToObjCStringLiteralCheck()
10841 Expr *SrcExpr, AssignmentAction Action, in DiagnoseAssignmentResult() argument
10859 DiagnoseAssignmentEnum(DstType, SrcType, SrcExpr); in DiagnoseAssignmentResult()
10864 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); in DiagnoseAssignmentResult()
10869 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); in DiagnoseAssignmentResult()
10880 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); in DiagnoseAssignmentResult()
10924 IsStringLiteralToNonConstPointerConversion(SrcExpr, DstType)) in DiagnoseAssignmentResult()
[all …]
DSemaOverload.cpp10115 ExprResult &SrcExpr, bool doFunctionPointerConverion, in ResolveAndFixSingleFunctionTemplateSpecialization() argument
10119 assert(SrcExpr.get()->getType() == Context.OverloadTy); in ResolveAndFixSingleFunctionTemplateSpecialization()
10121 OverloadExpr::FindResult ovl = OverloadExpr::find(SrcExpr.get()); in ResolveAndFixSingleFunctionTemplateSpecialization()
10127 if (DiagnoseUseOfDecl(fn, SrcExpr.get()->getLocStart())) { in ResolveAndFixSingleFunctionTemplateSpecialization()
10128 SrcExpr = ExprError(); in ResolveAndFixSingleFunctionTemplateSpecialization()
10150 SrcExpr = ExprError(); in ResolveAndFixSingleFunctionTemplateSpecialization()
10156 FixOverloadedFunctionReference(SrcExpr.get(), found, fn); in ResolveAndFixSingleFunctionTemplateSpecialization()
10163 SrcExpr = ExprError(); in ResolveAndFixSingleFunctionTemplateSpecialization()
10176 NoteAllOverloadCandidates(SrcExpr.get()); in ResolveAndFixSingleFunctionTemplateSpecialization()
10178 SrcExpr = ExprError(); in ResolveAndFixSingleFunctionTemplateSpecialization()
[all …]
DTreeTransform.h2669 Expr *SrcExpr, TypeSourceInfo *DstTInfo, in RebuildConvertVectorExpr() argument
2671 return SemaRef.SemaConvertVectorExpr(SrcExpr, DstTInfo, in RebuildConvertVectorExpr()
9646 ExprResult SrcExpr = getDerived().TransformExpr(E->getSrcExpr()); in TransformConvertVectorExpr() local
9647 if (SrcExpr.isInvalid()) in TransformConvertVectorExpr()
9656 SrcExpr.get() == E->getSrcExpr()) in TransformConvertVectorExpr()
9660 SrcExpr.get(), Type, in TransformConvertVectorExpr()
/external/clang/include/clang/AST/
DExpr.h3500 Stmt *SrcExpr;
3509 ConvertVectorExpr(Expr* SrcExpr, TypeSourceInfo *TI, QualType DstType, in ConvertVectorExpr() argument
3514 DstType->isDependentType() || SrcExpr->isValueDependent(), in ConvertVectorExpr()
3516 SrcExpr->isInstantiationDependent()), in ConvertVectorExpr()
3518 SrcExpr->containsUnexpandedParameterPack())), in ConvertVectorExpr()
3519 SrcExpr(SrcExpr), TInfo(TI), BuiltinLoc(BuiltinLoc), RParenLoc(RParenLoc) {} in ConvertVectorExpr()
3522 Expr *getSrcExpr() const { return cast<Expr>(SrcExpr); } in getSrcExpr()
3546 child_range children() { return child_range(&SrcExpr, &SrcExpr+1); } in children()
4553 Stmt *SrcExpr;
4561 AsTypeExpr(Expr* SrcExpr, QualType DstType, in AsTypeExpr() argument
[all …]
/external/clang/lib/CodeGen/
DCGObjC.cpp2926 DeclRefExpr SrcExpr(&srcDecl, false, SrcTy, in GenerateObjCAtomicSetterCopyHelperFunction() local
2928 UnaryOperator SRC(&SrcExpr, UO_Deref, SrcTy->getPointeeType(), in GenerateObjCAtomicSetterCopyHelperFunction()
2999 DeclRefExpr SrcExpr(&srcDecl, false, SrcTy, in GenerateObjCAtomicGetterCopyHelperFunction() local
3002 UnaryOperator SRC(&SrcExpr, UO_Deref, SrcTy->getPointeeType(), in GenerateObjCAtomicGetterCopyHelperFunction()
/external/clang/include/clang/Sema/
DSema.h2350 ExprResult &SrcExpr,
7049 Expr *&SrcExpr);
7051 bool ConversionToObjCStringLiteralCheck(QualType DstType, Expr *&SrcExpr);
7678 Expr *SrcExpr, AssignmentAction Action,
7684 Expr *SrcExpr);
/external/clang/lib/Serialization/
DASTReaderStmt.cpp860 E->SrcExpr = Reader.ReadSubExpr(); in VisitConvertVectorExpr()
1654 E->SrcExpr = Reader.ReadSubExpr(); in VisitAsTypeExpr()