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()
156 static TryCastResult TryLValueToRValueCast(Sema &Self, Expr *SrcExpr,
161 static TryCastResult TryStaticReferenceDowncast(Sema &Self, Expr *SrcExpr,
180 static TryCastResult TryStaticMemberPointerUpcast(Sema &Self, ExprResult &SrcExpr,
[all …]
DSemaExprObjC.cpp3632 Expr *&SrcExpr) { in CheckObjCBridgeRelatedConversions() argument
3655 SourceLocation SrcExprEndLoc = PP.getLocForEndOfToken(SrcExpr->getLocEnd()); in CheckObjCBridgeRelatedConversions()
3659 << FixItHint::CreateInsertion(SrcExpr->getLocStart(), ExpressionString) in CheckObjCBridgeRelatedConversions()
3667 Expr *args[] = { SrcExpr }; in CheckObjCBridgeRelatedConversions()
3672 SrcExpr = msg.get(); in CheckObjCBridgeRelatedConversions()
3680 SourceLocation SrcExprEndLoc = PP.getLocForEndOfToken(SrcExpr->getLocEnd()); in CheckObjCBridgeRelatedConversions()
3698 << FixItHint::CreateInsertion(SrcExpr->getLocStart(), "[") in CheckObjCBridgeRelatedConversions()
3705 BuildInstanceMessageImplicit(SrcExpr, SrcType, in CheckObjCBridgeRelatedConversions()
3709 SrcExpr = msg.get(); in CheckObjCBridgeRelatedConversions()
DSemaStmt.cpp1171 Expr *SrcExpr) { in DiagnoseAssignmentEnum() argument
1172 if (Diags.isIgnored(diag::warn_not_in_enum_assignment, SrcExpr->getExprLoc())) in DiagnoseAssignmentEnum()
1178 if (!SrcExpr->isTypeDependent() && !SrcExpr->isValueDependent() && in DiagnoseAssignmentEnum()
1179 SrcExpr->isIntegerConstantExpr(Context)) { in DiagnoseAssignmentEnum()
1184 llvm::APSInt RhsVal = SrcExpr->EvaluateKnownConstInt(Context); in DiagnoseAssignmentEnum()
1190 Diag(SrcExpr->getExprLoc(), diag::warn_not_in_enum_assignment) in DiagnoseAssignmentEnum()
1215 Diag(SrcExpr->getExprLoc(), diag::warn_not_in_enum_assignment) in DiagnoseAssignmentEnum()
DSemaOverload.cpp10321 ExprResult &SrcExpr, bool doFunctionPointerConverion, in ResolveAndFixSingleFunctionTemplateSpecialization() argument
10325 assert(SrcExpr.get()->getType() == Context.OverloadTy); in ResolveAndFixSingleFunctionTemplateSpecialization()
10327 OverloadExpr::FindResult ovl = OverloadExpr::find(SrcExpr.get()); in ResolveAndFixSingleFunctionTemplateSpecialization()
10333 if (DiagnoseUseOfDecl(fn, SrcExpr.get()->getLocStart())) { in ResolveAndFixSingleFunctionTemplateSpecialization()
10334 SrcExpr = ExprError(); in ResolveAndFixSingleFunctionTemplateSpecialization()
10356 SrcExpr = ExprError(); in ResolveAndFixSingleFunctionTemplateSpecialization()
10362 FixOverloadedFunctionReference(SrcExpr.get(), found, fn); in ResolveAndFixSingleFunctionTemplateSpecialization()
10369 SrcExpr = ExprError(); in ResolveAndFixSingleFunctionTemplateSpecialization()
10382 NoteAllOverloadCandidates(SrcExpr.get()); in ResolveAndFixSingleFunctionTemplateSpecialization()
10384 SrcExpr = ExprError(); in ResolveAndFixSingleFunctionTemplateSpecialization()
[all …]
DSemaExpr.cpp11510 Expr *SrcExpr = Exp->IgnoreParenImpCasts(); in ConversionToObjCStringLiteralCheck() local
11511 if (OpaqueValueExpr *OV = dyn_cast<OpaqueValueExpr>(SrcExpr)) in ConversionToObjCStringLiteralCheck()
11513 SrcExpr = OV->getSourceExpr()->IgnoreParenImpCasts(); in ConversionToObjCStringLiteralCheck()
11515 StringLiteral *SL = dyn_cast<StringLiteral>(SrcExpr); in ConversionToObjCStringLiteralCheck()
11527 Expr *SrcExpr, AssignmentAction Action, in DiagnoseAssignmentResult() argument
11545 DiagnoseAssignmentEnum(DstType, SrcType, SrcExpr); in DiagnoseAssignmentResult()
11550 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); in DiagnoseAssignmentResult()
11555 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); in DiagnoseAssignmentResult()
11566 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); in DiagnoseAssignmentResult()
11610 IsStringLiteralToNonConstPointerConversion(SrcExpr, DstType)) in DiagnoseAssignmentResult()
[all …]
DTreeTransform.h2753 Expr *SrcExpr, TypeSourceInfo *DstTInfo, in RebuildConvertVectorExpr() argument
2755 return SemaRef.SemaConvertVectorExpr(SrcExpr, DstTInfo, in RebuildConvertVectorExpr()
10251 ExprResult SrcExpr = getDerived().TransformExpr(E->getSrcExpr()); in TransformConvertVectorExpr() local
10252 if (SrcExpr.isInvalid()) in TransformConvertVectorExpr()
10261 SrcExpr.get() == E->getSrcExpr()) in TransformConvertVectorExpr()
10265 SrcExpr.get(), Type, in TransformConvertVectorExpr()
/external/clang/include/clang/AST/
DExpr.h3504 Stmt *SrcExpr;
3513 ConvertVectorExpr(Expr* SrcExpr, TypeSourceInfo *TI, QualType DstType, in ConvertVectorExpr() argument
3518 DstType->isDependentType() || SrcExpr->isValueDependent(), in ConvertVectorExpr()
3520 SrcExpr->isInstantiationDependent()), in ConvertVectorExpr()
3522 SrcExpr->containsUnexpandedParameterPack())), in ConvertVectorExpr()
3523 SrcExpr(SrcExpr), TInfo(TI), BuiltinLoc(BuiltinLoc), RParenLoc(RParenLoc) {} in ConvertVectorExpr()
3526 Expr *getSrcExpr() const { return cast<Expr>(SrcExpr); } in getSrcExpr()
3550 child_range children() { return child_range(&SrcExpr, &SrcExpr+1); } in children()
4568 Stmt *SrcExpr;
4576 AsTypeExpr(Expr* SrcExpr, QualType DstType, in AsTypeExpr() argument
[all …]
/external/clang/lib/CodeGen/
DCGObjC.cpp2915 DeclRefExpr SrcExpr(&srcDecl, false, SrcTy, in GenerateObjCAtomicSetterCopyHelperFunction() local
2917 UnaryOperator SRC(&SrcExpr, UO_Deref, SrcTy->getPointeeType(), in GenerateObjCAtomicSetterCopyHelperFunction()
2988 DeclRefExpr SrcExpr(&srcDecl, false, SrcTy, in GenerateObjCAtomicGetterCopyHelperFunction() local
2991 UnaryOperator SRC(&SrcExpr, UO_Deref, SrcTy->getPointeeType(), in GenerateObjCAtomicGetterCopyHelperFunction()
/external/clang/include/clang/Sema/
DSema.h2322 ExprResult &SrcExpr,
7179 Expr *&SrcExpr);
7181 bool ConversionToObjCStringLiteralCheck(QualType DstType, Expr *&SrcExpr);
7900 Expr *SrcExpr, AssignmentAction Action,
7912 Expr *SrcExpr);
/external/clang/lib/Serialization/
DASTReaderStmt.cpp861 E->SrcExpr = Reader.ReadSubExpr(); in VisitConvertVectorExpr()
1670 E->SrcExpr = Reader.ReadSubExpr(); in VisitAsTypeExpr()