Home
last modified time | relevance | path

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

12

/freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp310 void RewriteCastExpr(CStyleCastExpr *CE);
2089 if (const CStyleCastExpr *ECE = dyn_cast<CStyleCastExpr>(E)) { in RewriteObjCQualifiedInterfaceTypes()
2212 if (const CStyleCastExpr *ECE = dyn_cast<CStyleCastExpr>(E)) in RewriteTypeOfDecl()
2834 while (CStyleCastExpr *CE = dyn_cast<CStyleCastExpr>(recExpr)) in SynthMessageExpr()
2886 else if (CStyleCastExpr *CE = dyn_cast<CStyleCastExpr>(userExpr)) { in SynthMessageExpr()
3882 void RewriteObjC::RewriteCastExpr(CStyleCastExpr *CE) { in RewriteCastExpr()
4270 if (const CStyleCastExpr *ECE = dyn_cast<CStyleCastExpr>(E)) in RewriteByRefVar()
4718 if (CStyleCastExpr *CE = dyn_cast<CStyleCastExpr>(S)) in RewriteFunctionBodyOrGlobalInitializer()
4745 if (CStyleCastExpr *CE = dyn_cast<CStyleCastExpr>(S)) { in RewriteFunctionBodyOrGlobalInitializer()
4853 if (CStyleCastExpr *CE = dyn_cast<CStyleCastExpr>(VD->getInit())) { in HandleDeclInMainFile()
[all …]
H A DRewriteModernObjC.cpp2172 if (const CStyleCastExpr *ECE = dyn_cast<CStyleCastExpr>(E)) { in RewriteObjCQualifiedInterfaceTypes()
2299 if (const CStyleCastExpr *ECE = dyn_cast<CStyleCastExpr>(E)) in RewriteTypeOfDecl()
2879 CStyleCastExpr * DictValueObjects = in RewriteObjCDictionaryLiteralExpr()
2893 CStyleCastExpr * DictKeyObjects = in RewriteObjCDictionaryLiteralExpr()
3405 while (CStyleCastExpr *CE = dyn_cast<CStyleCastExpr>(recExpr)) in SynthMessageExpr()
3457 else if (CStyleCastExpr *CE = dyn_cast<CStyleCastExpr>(userExpr)) { in SynthMessageExpr()
5138 if (const CStyleCastExpr *ECE = dyn_cast<CStyleCastExpr>(E)) in RewriteByRefVar()
5614 if (CStyleCastExpr *CE = dyn_cast<CStyleCastExpr>(S)) in RewriteFunctionBodyOrGlobalInitializer()
5641 if (CStyleCastExpr *CE = dyn_cast<CStyleCastExpr>(S)) { in RewriteFunctionBodyOrGlobalInitializer()
5753 if (CStyleCastExpr *CE = dyn_cast<CStyleCastExpr>(VD->getInit())) { in HandleDeclInMainFile()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransUnbridgedCasts.cpp228 if (CStyleCastExpr *CCE = dyn_cast<CStyleCastExpr>(E)) { in rewriteToBridgedCast()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DReachableCode.cpp594 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.cpp1621 void VisitCStyleCastExpr(const CStyleCastExpr *Cast) { in VisitCStyleCastExpr()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp2036 return static_cast<CStyleCastExpr *>(this) in getTrailingFPFeatures()
2080 CStyleCastExpr *CStyleCastExpr::Create(const ASTContext &C, QualType T, in Create()
2090 CStyleCastExpr *E = in Create()
2091 new (Buffer) CStyleCastExpr(T, VK, K, Op, PathSize, FPO, WrittenTy, L, R); in Create()
2098 CStyleCastExpr *CStyleCastExpr::CreateEmpty(const ASTContext &C, in CreateEmpty()
2104 return new (Buffer) CStyleCastExpr(EmptyShell(), PathSize, HasFPFeatures); in CreateEmpty()
2902 const CStyleCastExpr *CStyleCE = cast<CStyleCastExpr>(this); in isUnusedResultAWarning()
2960 return cast<CStyleCastExpr>(E)->getSubExpr()->isOBJCGCCandidate(Ctx); in isOBJCGCCandidate()
H A DStmtProfile.cpp1481 void StmtProfiler::VisitCStyleCastExpr(const CStyleCastExpr *S) { in VisitCStyleCastExpr()
H A DStmtPrinter.cpp1625 void StmtPrinter::VisitCStyleCastExpr(CStyleCastExpr *Node) { in VisitCStyleCastExpr()
H A DASTImporter.cpp7826 auto *CCE = cast<CStyleCastExpr>(E); in VisitExplicitCastExpr()
7833 return CStyleCastExpr::Create( in VisitExplicitCastExpr()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DStmtNodes.td86 def CStyleCastExpr : StmtNode<ExplicitCastExpr>;
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h3739 class CStyleCastExpr final
3741 private llvm::TrailingObjects<CStyleCastExpr, CXXBaseSpecifier *,
3746 CStyleCastExpr(QualType exprTy, ExprValueKind vk, CastKind kind, Expr *op, in CStyleCastExpr() function
3757 explicit CStyleCastExpr(EmptyShell Shell, unsigned PathSize, in CStyleCastExpr() function
3766 static CStyleCastExpr *
3771 static CStyleCastExpr *CreateEmpty(const ASTContext &Context,
H A DRecursiveASTVisitor.h2450 DEF_TRAVERSE_STMT(CStyleCastExpr, {
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprObjC.cpp3783 if (CStyleCastExpr *CCE = dyn_cast<CStyleCastExpr>(castedE)) in addFixitForObjCARCConversion()
4520 if (CStyleCastExpr *cast = dyn_cast<CStyleCastExpr>(realCast)) { in diagnoseARCUnbridgedCast()
H A DSemaStmt.cpp360 else if (const CStyleCastExpr *CE = dyn_cast<CStyleCastExpr>(E)) { in DiagnoseUnusedExprResult()
H A DSema.cpp2641 return (!isa<CStyleCastExpr>(E) && in IsCallableWithAppend()
H A DSemaCast.cpp3352 return Op.complete(CStyleCastExpr::Create( in BuildCStyleCastExpr()
H A DSemaChecking.cpp3750 const auto *CE = dyn_cast<CStyleCastExpr>(UO->getSubExpr()); in isValidBPFPreserveEnumValueArg()
7255 if (const CStyleCastExpr *CSCE = dyn_cast<CStyleCastExpr>(FormatExpr)) in DiagnoseCStringFormatDirectiveInCFAPI()
12251 if (const CStyleCastExpr *CCast = dyn_cast<CStyleCastExpr>(E)) { in checkFormatExpr()
H A DSemaTemplate.cpp8117 E = CStyleCastExpr::Create(S.Context, OrigT, VK_PRValue, CK_IntegralCast, E, in BuildExpressionFromIntegralTemplateArgumentValue()
/freebsd-14.2/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp981 const internal::VariadicDynCastAllOfMatcher<Stmt, CStyleCastExpr>
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp1179 void ASTStmtReader::VisitCStyleCastExpr(CStyleCastExpr *E) { in VisitCStyleCastExpr()
3144 S = CStyleCastExpr::CreateEmpty(Context, PathSize, HasFPFeatures); in ReadStmtFromStream()
H A DASTWriterStmt.cpp1129 void ASTStmtWriter::VisitCStyleCastExpr(CStyleCastExpr *E) { in VisitCStyleCastExpr()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h2687 extern const internal::VariadicDynCastAllOfMatcher<Stmt, CStyleCastExpr>
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExpr.cpp2716 if (const auto *Exp = dyn_cast<CStyleCastExpr>(E)) { in setObjCGCLValueClass()

12