/external/clang/lib/Sema/ |
H A D | SemaCast.cpp | 49 : Self(S), SrcExpr(src), DestType(destType), 63 ExprResult SrcExpr; member in struct:__anon2930::CastOperation 117 Self.CheckCastAlign(SrcExpr.get(), DestType, OpRange); 123 Expr *src = SrcExpr.get(); 127 SrcExpr = src; 135 SrcExpr = Self.CheckPlaceholderExpr(SrcExpr.take()); 136 if (SrcExpr.isInvalid()) 157 static TryCastResult TryLValueToRValueCast(Sema &Self, Expr *SrcExpr, 162 static TryCastResult TryStaticReferenceDowncast(Sema &Self, Expr *SrcExpr, 773 TryStaticCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, Sema::CheckedConversionKind CCK, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument 941 TryLValueToRValueCast(Sema &Self, Expr *SrcExpr, QualType DestType, bool CStyle, CastKind &Kind, CXXCastPath &BasePath, unsigned &msg) argument 992 TryStaticReferenceDowncast(Sema &Self, Expr *SrcExpr, QualType DestType, bool CStyle, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument 1176 TryStaticMemberPointerUpcast(Sema &Self, ExprResult &SrcExpr, QualType SrcType, QualType DestType, bool CStyle, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument 1287 TryStaticImplicitCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, Sema::CheckedConversionKind CCK, const SourceRange &OpRange, unsigned &msg, CastKind &Kind) argument 1337 TryConstCast(Sema &Self, Expr *SrcExpr, QualType DestType, bool CStyle, unsigned &msg) argument 1465 TryReinterpretCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, bool CStyle, const SourceRange &OpRange, unsigned &msg, CastKind &Kind) argument [all...] |
H A D | SemaExpr.cpp | 8969 Expr *SrcExpr, FixItHint &Hint) { 8986 StringLiteral *SL = dyn_cast<StringLiteral>(SrcExpr->IgnoreParenCasts()); 8996 Expr *SrcExpr, AssignmentAction Action, 9014 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); 9019 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); 9023 MakeObjCStringLiteralFixItHint(*this, DstType, SrcExpr, Hint); 9028 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); 9068 IsStringLiteralToNonConstPointerConversion(SrcExpr, DstType)) 9094 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); 9121 FDiag << FirstType << SecondType << Action << SrcExpr 8968 MakeObjCStringLiteralFixItHint(Sema& SemaRef, QualType DstType, Expr *SrcExpr, FixItHint &Hint) argument 8993 DiagnoseAssignmentResult(AssignConvertType ConvTy, SourceLocation Loc, QualType DstType, QualType SrcType, Expr *SrcExpr, AssignmentAction Action, bool *Complained) argument [all...] |
H A D | SemaOverload.cpp | 8300 ExprResult &SrcExpr, bool doFunctionPointerConverion, 8304 assert(SrcExpr.get()->getType() == Context.OverloadTy); 8306 OverloadExpr::FindResult ovl = OverloadExpr::find(SrcExpr.get()); 8312 if (DiagnoseUseOfDecl(fn, SrcExpr.get()->getSourceRange().getBegin())) { 8313 SrcExpr = ExprError(); 8335 SrcExpr = ExprError(); 8341 Owned(FixOverloadedFunctionReference(SrcExpr.take(), found, fn)); 8348 SrcExpr = ExprError(); 8361 NoteAllOverloadCandidates(SrcExpr.get()); 8363 SrcExpr 8299 ResolveAndFixSingleFunctionTemplateSpecialization( ExprResult &SrcExpr, bool doFunctionPointerConverion, bool complain, const SourceRange& OpRangeForComplaining, QualType DestTypeForComplaining, unsigned DiagIDForComplaining) argument [all...] |
/external/clang/include/clang/AST/ |
H A D | Expr.h | 4141 Stmt *SrcExpr; member in class:clang::StringLiteral::OffsetOfExpr::CallExpr::DesignatedInitExpr::AsTypeExpr 4149 AsTypeExpr(Expr* SrcExpr, QualType DstType, argument 4154 DstType->isDependentType() || SrcExpr->isValueDependent(), 4156 SrcExpr->isInstantiationDependent()), 4158 SrcExpr->containsUnexpandedParameterPack())), 4159 SrcExpr(SrcExpr), BuiltinLoc(BuiltinLoc), RParenLoc(RParenLoc) {} 4162 Expr *getSrcExpr() const { return cast<Expr>(SrcExpr); } 4180 child_range children() { return child_range(&SrcExpr, &SrcExpr [all...] |