Searched refs:SrcExpr (Results 1 - 11 of 11) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaCast.cpp58 : Self(S), SrcExpr(src), DestType(destType),
72 ExprResult SrcExpr; member in struct:__anon2013::CastOperation
140 Self.CheckCastAlign(SrcExpr.get(), DestType, OpRange);
146 Expr *src = SrcExpr.get();
150 SrcExpr = src;
158 SrcExpr = Self.CheckPlaceholderExpr(SrcExpr.get());
159 if (SrcExpr.isInvalid())
181 if (!Op.SrcExpr.isInvalid())
182 CheckNoDeref(Op.Self, Op.SrcExpr
938 DiagnoseReinterpretUpDownCast(Sema &Self, const Expr *SrcExpr, QualType DestType, SourceRange OpRange) argument
1153 TryStaticCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, Sema::CheckedConversionKind CCK, SourceRange OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath, bool ListInitialization) argument
1349 TryLValueToRValueCast(Sema &Self, Expr *SrcExpr, QualType DestType, bool CStyle, CastKind &Kind, CXXCastPath &BasePath, unsigned &msg) argument
1404 TryStaticReferenceDowncast(Sema &Self, Expr *SrcExpr, QualType DestType, bool CStyle, SourceRange OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument
1588 TryStaticMemberPointerUpcast(Sema &Self, ExprResult &SrcExpr, QualType SrcType, QualType DestType, bool CStyle, SourceRange OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument
1706 TryStaticImplicitCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, Sema::CheckedConversionKind CCK, SourceRange OpRange, unsigned &msg, CastKind &Kind, bool ListInitialization) argument
1761 TryConstCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, bool CStyle, unsigned &msg) argument
1914 DiagnoseCastOfObjCSEL(Sema &Self, const ExprResult &SrcExpr, QualType DestType) argument
1933 DiagnoseCallingConvCast(Sema &Self, const ExprResult &SrcExpr, QualType DstType, SourceRange OpRange) argument
2021 checkIntToPointerCast(bool CStyle, const SourceRange &OpRange, const Expr *SrcExpr, QualType DestType, Sema &Self) argument
2074 TryReinterpretCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, bool CStyle, SourceRange OpRange, unsigned &msg, CastKind &Kind) argument
2405 TryAddressSpaceCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, bool CStyle, unsigned &msg, CastKind &Kind) argument
2635 DiagnoseBadFunctionCast(Sema &Self, const ExprResult &SrcExpr, QualType DestType) argument
2973 DiagnoseCastQual(Sema &Self, const ExprResult &SrcExpr, QualType DestType) argument
[all...]
H A DSemaStmt.cpp1276 Expr *SrcExpr) {
1277 if (Diags.isIgnored(diag::warn_not_in_enum_assignment, SrcExpr->getExprLoc()))
1283 if (!SrcExpr->isTypeDependent() && !SrcExpr->isValueDependent() &&
1284 SrcExpr->isIntegerConstantExpr(Context)) {
1289 llvm::APSInt RhsVal = SrcExpr->EvaluateKnownConstInt(Context);
1298 Diag(SrcExpr->getExprLoc(), diag::warn_not_in_enum_assignment)
1323 Diag(SrcExpr->getExprLoc(), diag::warn_not_in_enum_assignment)
1275 DiagnoseAssignmentEnum(QualType DstType, QualType SrcType, Expr *SrcExpr) argument
H A DSemaExprObjC.cpp4294 Expr *&SrcExpr, bool Diagnose) {
4320 getLocForEndOfToken(SrcExpr->getEndLoc());
4321 // Provide a fixit: [RelatedClass ClassMethod SrcExpr]
4324 << FixItHint::CreateInsertion(SrcExpr->getBeginLoc(),
4332 Expr *args[] = { SrcExpr };
4337 SrcExpr = msg.get();
4348 getLocForEndOfToken(SrcExpr->getEndLoc());
4367 << FixItHint::CreateInsertion(SrcExpr->getBeginLoc(), "[")
4374 BuildInstanceMessageImplicit(SrcExpr, SrcType,
4378 SrcExpr
4292 CheckObjCBridgeRelatedConversions(SourceLocation Loc, QualType DestType, QualType SrcType, Expr *&SrcExpr, bool Diagnose) argument
[all...]
H A DSemaExpr.cpp15473 Expr *SrcExpr = Exp->IgnoreParenImpCasts(); local
15474 if (OpaqueValueExpr *OV = dyn_cast<OpaqueValueExpr>(SrcExpr))
15476 SrcExpr = OV->getSourceExpr()->IgnoreParenImpCasts();
15478 if (auto *SL = dyn_cast<StringLiteral>(SrcExpr)) {
15493 if ((isa<IntegerLiteral>(SrcExpr) || isa<CharacterLiteral>(SrcExpr) ||
15494 isa<FloatingLiteral>(SrcExpr) || isa<ObjCBoolLiteralExpr>(SrcExpr) ||
15495 isa<CXXBoolLiteralExpr>(SrcExpr)) &&
15496 !SrcExpr
15515 maybeDiagnoseAssignmentToFunction(Sema &S, QualType DstType, const Expr *SrcExpr) argument
15534 DiagnoseAssignmentResult(AssignConvertType ConvTy, SourceLocation Loc, QualType DstType, QualType SrcType, Expr *SrcExpr, AssignmentAction Action, bool *Complained) argument
[all...]
H A DSemaOverload.cpp12149 /// set for SrcExpr that can have their addresses taken, there is one candidate
12228 ExprResult &SrcExpr, bool DoFunctionPointerConverion) {
12229 Expr *E = SrcExpr.get();
12230 assert(E->getType() == Context.OverloadTy && "SrcExpr must be an overload");
12245 SrcExpr = DefaultFunctionArrayConversion(Fixed, /*Diagnose=*/false);
12247 SrcExpr = Fixed;
12346 ExprResult &SrcExpr, bool doFunctionPointerConverion,
12350 assert(SrcExpr.get()->getType() == Context.OverloadTy);
12352 OverloadExpr::FindResult ovl = OverloadExpr::find(SrcExpr.get());
12358 if (DiagnoseUseOfDecl(fn, SrcExpr
[all...]
H A DTreeTransform.h3511 Expr *SrcExpr, TypeSourceInfo *DstTInfo,
3513 return SemaRef.SemaConvertVectorExpr(SrcExpr, DstTInfo,
13664 ExprResult SrcExpr = getDerived().TransformExpr(E->getSrcExpr()); local
13665 if (SrcExpr.isInvalid())
13674 SrcExpr.get() == E->getSrcExpr())
13678 SrcExpr.get(), Type,
3510 RebuildConvertVectorExpr(SourceLocation BuiltinLoc, Expr *SrcExpr, TypeSourceInfo *DstTInfo, SourceLocation RParenLoc) argument
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h4304 Stmt *SrcExpr; member in class:clang::final::ConvertVectorExpr
4313 ConvertVectorExpr(Expr *SrcExpr, TypeSourceInfo *TI, QualType DstType, argument
4316 : Expr(ConvertVectorExprClass, DstType, VK, OK), SrcExpr(SrcExpr),
4322 Expr *getSrcExpr() const { return cast<Expr>(SrcExpr); }
4346 child_range children() { return child_range(&SrcExpr, &SrcExpr+1); }
4348 return const_child_range(&SrcExpr, &SrcExpr + 1);
5859 Stmt *SrcExpr; member in class:clang::final::final::AsTypeExpr
5867 AsTypeExpr(Expr *SrcExpr, QualType DstType, ExprValueKind VK, ExprObjectKind OK, SourceLocation BuiltinLoc, SourceLocation RParenLoc) argument
[all...]
H A DExprCXX.h4805 BuiltinBitCastExpr(QualType T, ExprValueKind VK, CastKind CK, Expr *SrcExpr, argument
4808 : ExplicitCastExpr(BuiltinBitCastExprClass, T, VK, CK, SrcExpr, 0,
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjC.cpp3594 DeclRefExpr SrcExpr(C, &SrcDecl, false, SrcTy, VK_RValue, SourceLocation());
3596 C, &SrcExpr, UO_Deref, SrcTy->getPointeeType(), VK_LValue, OK_Ordinary,
3672 DeclRefExpr SrcExpr(getContext(), &SrcDecl, false, SrcTy, VK_RValue,
3676 C, &SrcExpr, UO_Deref, SrcTy->getPointeeType(), VK_LValue, OK_Ordinary,
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h3492 ExprResult &SrcExpr, bool DoFunctionPointerConversion = false);
3500 ExprResult &SrcExpr,
9551 Expr *&SrcExpr, bool Diagnose = true);
9553 bool CheckConversionToObjCLiteral(QualType DstType, Expr *&SrcExpr,
11132 Expr *SrcExpr, AssignmentAction Action,
11144 Expr *SrcExpr);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp1327 E->SrcExpr = Record.readSubExpr();
2253 E->SrcExpr = Record.readSubExpr();

Completed in 493 milliseconds