Home
last modified time | relevance | path

Searched refs:CStyleCastExpr (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DIdenticalExprChecker.cpp363 const CStyleCastExpr* CastExpr1 = cast<CStyleCastExpr>(Stmt1); in isIdenticalStmt()
364 const CStyleCastExpr* CastExpr2 = cast<CStyleCastExpr>(Stmt2); in isIdenticalStmt()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp367 void RewriteCastExpr(CStyleCastExpr *CE);
585 CStyleCastExpr* NoTypeInfoCStyleCastExpr(ASTContext *Ctx, QualType Ty, in NoTypeInfoCStyleCastExpr()
588 return CStyleCastExpr::Create(*Ctx, Ty, VK_PRValue, Kind, E, nullptr, in NoTypeInfoCStyleCastExpr()
2171 if (const CStyleCastExpr *ECE = dyn_cast<CStyleCastExpr>(E)) { in RewriteObjCQualifiedInterfaceTypes()
2298 if (const CStyleCastExpr *ECE = dyn_cast<CStyleCastExpr>(E)) in RewriteTypeOfDecl()
2749 CStyleCastExpr * ArrayLiteralObjects = in RewriteObjCArrayLiteralExpr()
2878 CStyleCastExpr * DictValueObjects = in RewriteObjCDictionaryLiteralExpr()
2892 CStyleCastExpr * DictKeyObjects = in RewriteObjCDictionaryLiteralExpr()
3404 while (CStyleCastExpr *CE = dyn_cast<CStyleCastExpr>(recExpr)) in SynthMessageExpr()
3456 else if (CStyleCastExpr *CE = dyn_cast<CStyleCastExpr>(userExpr)) { in SynthMessageExpr()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaBPF.cpp84 const auto *CE = dyn_cast<CStyleCastExpr>(UO->getSubExpr()); in isValidPreserveEnumValueArg()
H A DSemaObjC.cpp2289 if (const CStyleCastExpr *CSCE = dyn_cast<CStyleCastExpr>(FormatExpr)) in DiagnoseCStringFormatDirectiveInCFAPI()
H A DSemaExprObjC.cpp3792 if (CStyleCastExpr *CCE = dyn_cast<CStyleCastExpr>(castedE)) in addFixitForObjCARCConversion()
4531 if (CStyleCastExpr *cast = dyn_cast<CStyleCastExpr>(realCast)) { in diagnoseARCUnbridgedCast()
H A DSemaStmt.cpp365 else if (const CStyleCastExpr *CE = dyn_cast<CStyleCastExpr>(E)) { in DiagnoseUnusedExprResult()
H A DSema.cpp2632 return (!isa<CStyleCastExpr>(E) && in IsCallableWithAppend()
H A DSemaCast.cpp3362 return Op.complete(CStyleCastExpr::Create( in BuildCStyleCastExpr()
H A DSemaChecking.cpp7487 if (const CStyleCastExpr *CCast = dyn_cast<CStyleCastExpr>(E)) { in checkFormatExpr()
H A DSemaTemplate.cpp7387 E = CStyleCastExpr::Create(S.Context, OrigT, VK_PRValue, CK_IntegralCast, E, in BuildExpressionFromIntegralTemplateArgumentValue()
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransUnbridgedCasts.cpp228 if (CStyleCastExpr *CCE = dyn_cast<CStyleCastExpr>(E)) { in rewriteToBridgedCast()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DReachableCode.cpp637 const CStyleCastExpr *CSC = cast<CStyleCastExpr>(S); in GetUnreachableLoc()
H A DUninitializedValues.cpp464 else if (const auto *CSE = dyn_cast<CStyleCastExpr>(CE)) { in VisitCastExpr()
H A DCalledOnceCheck.cpp1622 void VisitCStyleCastExpr(const CStyleCastExpr *Cast) { in VisitCStyleCastExpr()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp2061 return static_cast<CStyleCastExpr *>(this) in getTrailingFPFeatures()
2105 CStyleCastExpr *CStyleCastExpr::Create(const ASTContext &C, QualType T, in Create()
2115 CStyleCastExpr *E = in Create()
2116 new (Buffer) CStyleCastExpr(T, VK, K, Op, PathSize, FPO, WrittenTy, L, R); in Create()
2123 CStyleCastExpr *CStyleCastExpr::CreateEmpty(const ASTContext &C, in CreateEmpty()
2129 return new (Buffer) CStyleCastExpr(EmptyShell(), PathSize, HasFPFeatures); in CreateEmpty()
2938 const CStyleCastExpr *CStyleCE = cast<CStyleCastExpr>(this); in isUnusedResultAWarning()
2996 return cast<CStyleCastExpr>(E)->getSubExpr()->isOBJCGCCandidate(Ctx); in isOBJCGCCandidate()
H A DStmtProfile.cpp1492 void StmtProfiler::VisitCStyleCastExpr(const CStyleCastExpr *S) { in VisitCStyleCastExpr()
H A DStmtPrinter.cpp1671 void StmtPrinter::VisitCStyleCastExpr(CStyleCastExpr *Node) { in VisitCStyleCastExpr()
H A DASTImporter.cpp7928 auto *CCE = cast<CStyleCastExpr>(E); in VisitExplicitCastExpr()
7935 return CStyleCastExpr::Create( in VisitExplicitCastExpr()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DStmtNodes.td86 def CStyleCastExpr : StmtNode<ExplicitCastExpr>;
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h3788 class CStyleCastExpr final
3790 private llvm::TrailingObjects<CStyleCastExpr, CXXBaseSpecifier *,
3795 CStyleCastExpr(QualType exprTy, ExprValueKind vk, CastKind kind, Expr *op, in CStyleCastExpr() function
3806 explicit CStyleCastExpr(EmptyShell Shell, unsigned PathSize, in CStyleCastExpr() function
3815 static CStyleCastExpr *
3820 static CStyleCastExpr *CreateEmpty(const ASTContext &Context,
H A DRecursiveASTVisitor.h2508 DEF_TRAVERSE_STMT(CStyleCastExpr, {
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp1176 void ASTStmtReader::VisitCStyleCastExpr(CStyleCastExpr *E) { in VisitCStyleCastExpr()
3201 S = CStyleCastExpr::CreateEmpty(Context, PathSize, HasFPFeatures); in ReadStmtFromStream()
H A DASTWriterStmt.cpp1129 void ASTStmtWriter::VisitCStyleCastExpr(CStyleCastExpr *E) { in VisitCStyleCastExpr()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h2688 extern const internal::VariadicDynCastAllOfMatcher<Stmt, CStyleCastExpr>
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExpr.cpp2731 if (const auto *Exp = dyn_cast<CStyleCastExpr>(E)) { in setObjCGCLValueClass()

12