Home
last modified time | relevance | path

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

12

/external/clang/test/Analysis/
Dblocks.mm20 // CHECK-NEXT: 2: (void)([B1.1]) (CStyleCastExpr, ToVoid, void)
46 // CHECK-NEXT: 4: (void)([B1.3]) (CStyleCastExpr, ToVoid, void)
70 // CHECK-NEXT: 5: (void)([B1.4]) (CStyleCastExpr, ToVoid, void)
/external/clang/lib/StaticAnalyzer/Checkers/
DIdenticalExprChecker.cpp361 const CStyleCastExpr* CastExpr1 = cast<CStyleCastExpr>(Stmt1); in isIdenticalStmt()
362 const CStyleCastExpr* CastExpr2 = cast<CStyleCastExpr>(Stmt2); in isIdenticalStmt()
/external/clang/test/Index/
Dannotate-tokens.m193 // CHECK: Punctuation: "(" [8:3 - 8:4] CStyleCastExpr=
194 // CHECK: Keyword: "void" [8:4 - 8:8] CStyleCastExpr=
195 // CHECK: Punctuation: ")" [8:8 - 8:9] CStyleCastExpr=
314 // CHECK: Punctuation: "(" [45:3 - 45:4] CStyleCastExpr=
315 // CHECK: Keyword: "void" [45:4 - 45:8] CStyleCastExpr=
316 // CHECK: Punctuation: ")" [45:8 - 45:9] CStyleCastExpr=
457 // CHECK: Punctuation: "(" [88:3 - 88:4] CStyleCastExpr=
458 // CHECK: Keyword: "void" [88:4 - 88:8] CStyleCastExpr=
459 // CHECK: Punctuation: ")" [88:8 - 88:9] CStyleCastExpr=
Dc-index-getCursor-test.m161 // CHECK: [52:18 - 52:33] CStyleCastExpr=
Dc-index-api-loadTU-test.m151 // CHECK: c-index-api-loadTU-test.m:54:18: CStyleCastExpr= Extent=[54:18 - 54:36]
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp309 void RewriteCastExpr(CStyleCastExpr *CE);
490 CStyleCastExpr* NoTypeInfoCStyleCastExpr(ASTContext *Ctx, QualType Ty, in NoTypeInfoCStyleCastExpr()
493 return CStyleCastExpr::Create(*Ctx, Ty, VK_RValue, Kind, E, nullptr, in NoTypeInfoCStyleCastExpr()
2084 if (const CStyleCastExpr *ECE = dyn_cast<CStyleCastExpr>(E)) { in RewriteObjCQualifiedInterfaceTypes()
2207 if (const CStyleCastExpr *ECE = dyn_cast<CStyleCastExpr>(E)) in RewriteTypeOfDecl()
2838 while (CStyleCastExpr *CE = dyn_cast<CStyleCastExpr>(recExpr)) in SynthMessageExpr()
2890 else if (CStyleCastExpr *CE = dyn_cast<CStyleCastExpr>(userExpr)) { in SynthMessageExpr()
2892 while ((CE = dyn_cast<CStyleCastExpr>(userExpr))) in SynthMessageExpr()
3898 void RewriteObjC::RewriteCastExpr(CStyleCastExpr *CE) { in RewriteCastExpr()
4291 if (const CStyleCastExpr *ECE = dyn_cast<CStyleCastExpr>(E)) in RewriteByRefVar()
[all …]
DRewriteModernObjC.cpp368 void RewriteCastExpr(CStyleCastExpr *CE);
590 CStyleCastExpr* NoTypeInfoCStyleCastExpr(ASTContext *Ctx, QualType Ty, in NoTypeInfoCStyleCastExpr()
593 return CStyleCastExpr::Create(*Ctx, Ty, VK_RValue, Kind, E, nullptr, in NoTypeInfoCStyleCastExpr()
2192 if (const CStyleCastExpr *ECE = dyn_cast<CStyleCastExpr>(E)) { in RewriteObjCQualifiedInterfaceTypes()
2319 if (const CStyleCastExpr *ECE = dyn_cast<CStyleCastExpr>(E)) in RewriteTypeOfDecl()
2772 CStyleCastExpr * ArrayLiteralObjects = in RewriteObjCArrayLiteralExpr()
2904 CStyleCastExpr * DictValueObjects = in RewriteObjCDictionaryLiteralExpr()
2918 CStyleCastExpr * DictKeyObjects = in RewriteObjCDictionaryLiteralExpr()
3444 while (CStyleCastExpr *CE = dyn_cast<CStyleCastExpr>(recExpr)) in SynthMessageExpr()
3496 else if (CStyleCastExpr *CE = dyn_cast<CStyleCastExpr>(userExpr)) { in SynthMessageExpr()
[all …]
/external/clang/lib/ARCMigrate/
DTransUnbridgedCasts.cpp231 if (CStyleCastExpr *CCE = dyn_cast<CStyleCastExpr>(E)) { in rewriteToBridgedCast()
/external/clang/lib/AST/
DExpr.cpp1795 CStyleCastExpr *CStyleCastExpr::Create(const ASTContext &C, QualType T, in Create()
1802 C.Allocate(sizeof(CStyleCastExpr) + PathSize * sizeof(CXXBaseSpecifier*)); in Create()
1803 CStyleCastExpr *E = in Create()
1804 new (Buffer) CStyleCastExpr(T, VK, K, Op, PathSize, WrittenTy, L, R); in Create()
1809 CStyleCastExpr *CStyleCastExpr::CreateEmpty(const ASTContext &C, in CreateEmpty()
1812 C.Allocate(sizeof(CStyleCastExpr) + PathSize * sizeof(CXXBaseSpecifier*)); in CreateEmpty()
1813 return new (Buffer) CStyleCastExpr(EmptyShell(), PathSize); in CreateEmpty()
2340 const CStyleCastExpr *CStyleCE = cast<CStyleCastExpr>(this); in isUnusedResultAWarning()
2394 return cast<CStyleCastExpr>(E)->getSubExpr()->isOBJCGCCandidate(Ctx); in isOBJCGCCandidate()
DStmtProfile.cpp749 void StmtProfiler::VisitCStyleCastExpr(const CStyleCastExpr *S) { in VisitCStyleCastExpr()
DStmtPrinter.cpp1444 void StmtPrinter::VisitCStyleCastExpr(CStyleCastExpr *Node) { in VisitCStyleCastExpr()
DASTImporter.cpp224 Expr *VisitCStyleCastExpr(CStyleCastExpr *E);
5212 Expr *ASTNodeImporter::VisitCStyleCastExpr(CStyleCastExpr *E) { in VisitCStyleCastExpr()
5229 return CStyleCastExpr::Create(Importer.getToContext(), T, in VisitCStyleCastExpr()
/external/clang/lib/Analysis/
DReachableCode.cpp546 const CStyleCastExpr *CSC = cast<CStyleCastExpr>(S); in GetUnreachableLoc()
DUninitializedValues.cpp475 else if (CStyleCastExpr *CSE = dyn_cast<CStyleCastExpr>(CE)) { in VisitCastExpr()
/external/clang/include/clang/Basic/
DStmtNodes.td80 def CStyleCastExpr : DStmt<ExplicitCastExpr>;
/external/clang/include/clang/AST/
DExpr.h2905 class CStyleCastExpr : public ExplicitCastExpr {
2909 CStyleCastExpr(QualType exprTy, ExprValueKind vk, CastKind kind, Expr *op, in CStyleCastExpr() function
2916 explicit CStyleCastExpr(EmptyShell Shell, unsigned PathSize) in CStyleCastExpr() function
2920 static CStyleCastExpr *Create(const ASTContext &Context, QualType T,
2926 static CStyleCastExpr *CreateEmpty(const ASTContext &Context,
DRecursiveASTVisitor.h2001 DEF_TRAVERSE_STMT(CStyleCastExpr, {
/external/clang/lib/Sema/
DSemaExprObjC.cpp3380 if (CStyleCastExpr *CCE = dyn_cast<CStyleCastExpr>(castedE)) in addFixitForObjCARCConversion()
4083 if (CStyleCastExpr *cast = dyn_cast<CStyleCastExpr>(realCast)) { in diagnoseARCUnbridgedCast()
DSema.cpp1453 return (!isa<CStyleCastExpr>(E) && in IsCallableWithAppend()
DSemaStmt.cpp297 else if (const CStyleCastExpr *CE = dyn_cast<CStyleCastExpr>(E)) { in DiagnoseUnusedExprResult()
DSemaChecking.cpp1249 if (const CStyleCastExpr *CSCE = dyn_cast<CStyleCastExpr>(FormatExpr)) in DiagnoseCStringFormatDirectiveInCFAPI()
4374 if (const CStyleCastExpr *CCast = dyn_cast<CStyleCastExpr>(E)) { in checkFormatExpr()
DSemaCast.cpp2479 return Op.complete(CStyleCastExpr::Create(Context, Op.ResultType, in BuildCStyleCastExpr()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h1647 CStyleCastExpr> cStyleCastExpr;
/external/clang/lib/Serialization/
DASTReaderStmt.cpp721 void ASTStmtReader::VisitCStyleCastExpr(CStyleCastExpr *E) { in VisitCStyleCastExpr()
2777 S = CStyleCastExpr::CreateEmpty(Context, in ReadStmtFromStream()
DASTWriterStmt.cpp682 void ASTStmtWriter::VisitCStyleCastExpr(CStyleCastExpr *E) { in VisitCStyleCastExpr()

12