Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp310 void RewriteCastExpr(CStyleCastExpr *CE);
491 CStyleCastExpr* NoTypeInfoCStyleCastExpr(ASTContext *Ctx, QualType Ty, in NoTypeInfoCStyleCastExpr()
494 return CStyleCastExpr::Create(*Ctx, Ty, VK_PRValue, Kind, E, nullptr, in NoTypeInfoCStyleCastExpr()
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()
2888 while ((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()
[all …]
H A DRewriteModernObjC.cpp368 void RewriteCastExpr(CStyleCastExpr *CE);
586 CStyleCastExpr* NoTypeInfoCStyleCastExpr(ASTContext *Ctx, QualType Ty, in NoTypeInfoCStyleCastExpr()
589 return CStyleCastExpr::Create(*Ctx, Ty, VK_PRValue, Kind, E, nullptr, in NoTypeInfoCStyleCastExpr()
2172 if (const CStyleCastExpr *ECE = dyn_cast<CStyleCastExpr>(E)) { in RewriteObjCQualifiedInterfaceTypes()
2299 if (const CStyleCastExpr *ECE = dyn_cast<CStyleCastExpr>(E)) in RewriteTypeOfDecl()
2750 CStyleCastExpr * ArrayLiteralObjects = in RewriteObjCArrayLiteralExpr()
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()
[all …]
/openbsd-src/gnu/llvm/clang/lib/ARCMigrate/
H A DTransUnbridgedCasts.cpp228 if (CStyleCastExpr *CCE = dyn_cast<CStyleCastExpr>(E)) { in rewriteToBridgedCast()
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DReachableCode.cpp593 const CStyleCastExpr *CSC = cast<CStyleCastExpr>(S); in GetUnreachableLoc()
H A DUninitializedValues.cpp446 else if (const auto *CSE = dyn_cast<CStyleCastExpr>(CE)) { in VisitCastExpr()
H A DCalledOnceCheck.cpp1621 void VisitCStyleCastExpr(const CStyleCastExpr *Cast) { in VisitCStyleCastExpr()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DExpr.cpp2054 return static_cast<CStyleCastExpr *>(this) in getTrailingFPFeatures()
2098 CStyleCastExpr *CStyleCastExpr::Create(const ASTContext &C, QualType T, in Create()
2108 CStyleCastExpr *E = in Create()
2109 new (Buffer) CStyleCastExpr(T, VK, K, Op, PathSize, FPO, WrittenTy, L, R); in Create()
2116 CStyleCastExpr *CStyleCastExpr::CreateEmpty(const ASTContext &C, in CreateEmpty()
2122 return new (Buffer) CStyleCastExpr(EmptyShell(), PathSize, HasFPFeatures); in CreateEmpty()
2908 const CStyleCastExpr *CStyleCE = cast<CStyleCastExpr>(this); in isUnusedResultAWarning()
2966 return cast<CStyleCastExpr>(E)->getSubExpr()->isOBJCGCCandidate(Ctx); in isOBJCGCCandidate()
H A DStmtProfile.cpp1445 void StmtProfiler::VisitCStyleCastExpr(const CStyleCastExpr *S) { in VisitCStyleCastExpr()
H A DStmtPrinter.cpp1611 void StmtPrinter::VisitCStyleCastExpr(CStyleCastExpr *Node) { in VisitCStyleCastExpr()
H A DASTImporter.cpp7523 auto *CCE = cast<CStyleCastExpr>(E); in VisitExplicitCastExpr()
7530 return CStyleCastExpr::Create( in VisitExplicitCastExpr()
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DStmtNodes.td86 def CStyleCastExpr : StmtNode<ExplicitCastExpr>;
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DExpr.h3742 class CStyleCastExpr final
3744 private llvm::TrailingObjects<CStyleCastExpr, CXXBaseSpecifier *,
3749 CStyleCastExpr(QualType exprTy, ExprValueKind vk, CastKind kind, Expr *op, in CStyleCastExpr() function
3760 explicit CStyleCastExpr(EmptyShell Shell, unsigned PathSize, in CStyleCastExpr() function
3769 static CStyleCastExpr *
3774 static CStyleCastExpr *CreateEmpty(const ASTContext &Context,
H A DRecursiveASTVisitor.h2467 DEF_TRAVERSE_STMT(CStyleCastExpr, {
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaExprObjC.cpp3778 if (CStyleCastExpr *CCE = dyn_cast<CStyleCastExpr>(castedE)) in addFixitForObjCARCConversion()
4515 if (CStyleCastExpr *cast = dyn_cast<CStyleCastExpr>(realCast)) { in diagnoseARCUnbridgedCast()
H A DSemaStmt.cpp359 else if (const CStyleCastExpr *CE = dyn_cast<CStyleCastExpr>(E)) { in DiagnoseUnusedExprResult()
H A DSema.cpp2590 return (!isa<CStyleCastExpr>(E) && in IsCallableWithAppend()
H A DSemaCast.cpp3306 return Op.complete(CStyleCastExpr::Create( in BuildCStyleCastExpr()
H A DSemaChecking.cpp3406 const auto *CE = dyn_cast<CStyleCastExpr>(UO->getSubExpr()); in isValidBPFPreserveEnumValueArg()
5704 if (const CStyleCastExpr *CSCE = dyn_cast<CStyleCastExpr>(FormatExpr)) in DiagnoseCStringFormatDirectiveInCFAPI()
10533 if (const CStyleCastExpr *CCast = dyn_cast<CStyleCastExpr>(E)) { in checkFormatExpr()
/openbsd-src/gnu/llvm/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp971 const internal::VariadicDynCastAllOfMatcher<Stmt, CStyleCastExpr>
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTReaderStmt.cpp1153 void ASTStmtReader::VisitCStyleCastExpr(CStyleCastExpr *E) { in VisitCStyleCastExpr()
3059 S = CStyleCastExpr::CreateEmpty( in ReadStmtFromStream()
H A DASTWriterStmt.cpp1029 void ASTStmtWriter::VisitCStyleCastExpr(CStyleCastExpr *E) { in VisitCStyleCastExpr()
/openbsd-src/gnu/llvm/clang/include/clang/ASTMatchers/
H A DASTMatchers.h2610 extern const internal::VariadicDynCastAllOfMatcher<Stmt, CStyleCastExpr>
/openbsd-src/gnu/llvm/clang/tools/libclang/
H A DCIndex.cpp4254 CStyleCastExpr *CC = static_cast<CStyleCastExpr *>(expr); in evaluateExpr()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGExpr.cpp2441 if (const auto *Exp = dyn_cast<CStyleCastExpr>(E)) { in setObjCGCLValueClass()

12