/external/clang/lib/Sema/ |
D | SemaCast.cpp | 50 : Self(S), SrcExpr(src), DestType(destType), in CastOperation() 64 ExprResult SrcExpr; member 118 Self.CheckCastAlign(SrcExpr.get(), DestType, OpRange); in checkCastAlign() 124 Expr *src = SrcExpr.get(); in checkObjCARCConversion() 128 SrcExpr = src; in checkObjCARCConversion() 136 SrcExpr = Self.CheckPlaceholderExpr(SrcExpr.take()); in checkNonOverloadPlaceholders() 137 if (SrcExpr.isInvalid()) in checkNonOverloadPlaceholders() 158 static TryCastResult TryLValueToRValueCast(Sema &Self, Expr *SrcExpr, 163 static TryCastResult TryStaticReferenceDowncast(Sema &Self, Expr *SrcExpr, 182 static TryCastResult TryStaticMemberPointerUpcast(Sema &Self, ExprResult &SrcExpr, [all …]
|
D | SemaStmt.cpp | 1119 Expr *SrcExpr) { in DiagnoseAssignmentEnum() argument 1121 SrcExpr->getExprLoc()) == in DiagnoseAssignmentEnum() 1128 if (!SrcExpr->isTypeDependent() && !SrcExpr->isValueDependent() && in DiagnoseAssignmentEnum() 1129 SrcExpr->isIntegerConstantExpr(Context)) { in DiagnoseAssignmentEnum() 1134 llvm::APSInt RhsVal = SrcExpr->EvaluateKnownConstInt(Context); in DiagnoseAssignmentEnum() 1160 Diag(SrcExpr->getExprLoc(), diag::warn_not_in_enum_assignment) in DiagnoseAssignmentEnum()
|
D | SemaExpr.cpp | 10378 Expr *SrcExpr, FixItHint &Hint, in MakeObjCStringLiteralFixItHint() argument 10399 SrcExpr = SrcExpr->IgnoreParenImpCasts(); in MakeObjCStringLiteralFixItHint() 10400 if (OpaqueValueExpr *OV = dyn_cast<OpaqueValueExpr>(SrcExpr)) in MakeObjCStringLiteralFixItHint() 10402 SrcExpr = OV->getSourceExpr()->IgnoreParenImpCasts(); in MakeObjCStringLiteralFixItHint() 10404 StringLiteral *SL = dyn_cast<StringLiteral>(SrcExpr); in MakeObjCStringLiteralFixItHint() 10414 Expr *SrcExpr, AssignmentAction Action, in DiagnoseAssignmentResult() argument 10431 DiagnoseAssignmentEnum(DstType, SrcType, SrcExpr); in DiagnoseAssignmentResult() 10436 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); in DiagnoseAssignmentResult() 10441 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); in DiagnoseAssignmentResult() 10445 MakeObjCStringLiteralFixItHint(*this, DstType, SrcExpr, Hint, IsNSString); in DiagnoseAssignmentResult() [all …]
|
D | SemaOverload.cpp | 9738 ExprResult &SrcExpr, bool doFunctionPointerConverion, in ResolveAndFixSingleFunctionTemplateSpecialization() argument 9742 assert(SrcExpr.get()->getType() == Context.OverloadTy); in ResolveAndFixSingleFunctionTemplateSpecialization() 9744 OverloadExpr::FindResult ovl = OverloadExpr::find(SrcExpr.get()); in ResolveAndFixSingleFunctionTemplateSpecialization() 9750 if (DiagnoseUseOfDecl(fn, SrcExpr.get()->getLocStart())) { in ResolveAndFixSingleFunctionTemplateSpecialization() 9751 SrcExpr = ExprError(); in ResolveAndFixSingleFunctionTemplateSpecialization() 9773 SrcExpr = ExprError(); in ResolveAndFixSingleFunctionTemplateSpecialization() 9779 Owned(FixOverloadedFunctionReference(SrcExpr.take(), found, fn)); in ResolveAndFixSingleFunctionTemplateSpecialization() 9786 SrcExpr = ExprError(); in ResolveAndFixSingleFunctionTemplateSpecialization() 9799 NoteAllOverloadCandidates(SrcExpr.get()); in ResolveAndFixSingleFunctionTemplateSpecialization() 9801 SrcExpr = ExprError(); in ResolveAndFixSingleFunctionTemplateSpecialization() [all …]
|
/external/clang/include/clang/AST/ |
D | Expr.h | 4458 Stmt *SrcExpr; 4466 AsTypeExpr(Expr* SrcExpr, QualType DstType, in AsTypeExpr() argument 4471 DstType->isDependentType() || SrcExpr->isValueDependent(), in AsTypeExpr() 4473 SrcExpr->isInstantiationDependent()), in AsTypeExpr() 4475 SrcExpr->containsUnexpandedParameterPack())), in AsTypeExpr() 4476 SrcExpr(SrcExpr), BuiltinLoc(BuiltinLoc), RParenLoc(RParenLoc) {} in AsTypeExpr() 4479 Expr *getSrcExpr() const { return cast<Expr>(SrcExpr); } in getSrcExpr() 4495 child_range children() { return child_range(&SrcExpr, &SrcExpr+1); } in children()
|
/external/clang/lib/CodeGen/ |
D | CGObjC.cpp | 2918 DeclRefExpr SrcExpr(&srcDecl, false, SrcTy, in GenerateObjCAtomicSetterCopyHelperFunction() local 2920 UnaryOperator SRC(&SrcExpr, UO_Deref, SrcTy->getPointeeType(), in GenerateObjCAtomicSetterCopyHelperFunction() 2996 DeclRefExpr SrcExpr(&srcDecl, false, SrcTy, in GenerateObjCAtomicGetterCopyHelperFunction() local 2999 UnaryOperator SRC(&SrcExpr, UO_Deref, SrcTy->getPointeeType(), in GenerateObjCAtomicGetterCopyHelperFunction()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 2198 ExprResult &SrcExpr, 7099 Expr *SrcExpr, AssignmentAction Action, 7105 Expr *SrcExpr);
|
/external/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 1658 E->SrcExpr = Reader.ReadSubExpr(); in VisitAsTypeExpr()
|