| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | blocks.mm | 31 // CHECK-NEXT: 2: (void)([B1.1]) (CStyleCastExpr, ToVoid, void) 58 // CHECK-NEXT: 5: (void)([B1.4]) (CStyleCastExpr, ToVoid, void) 83 // CHECK-NEXT: 5: (void)([B1.4]) (CStyleCastExpr, ToVoid, void)
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | SignedCharMisuseCheck.cpp | 60 const auto CStyleCastExpr = cStyleCastExpr(has(ImplicitCastExpr)); in charCastExpression() local 67 return traverse(TK_AsIs, expr(anyOf(ImplicitCastExpr, CStyleCastExpr, in charCastExpression()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | IdenticalExprChecker.cpp | 363 const CStyleCastExpr* CastExpr1 = cast<CStyleCastExpr>(Stmt1); in isIdenticalStmt() 364 const CStyleCastExpr* CastExpr2 = cast<CStyleCastExpr>(Stmt2); in isIdenticalStmt()
|
| /llvm-project-15.0.7/clang/test/SemaOpenCL/ |
| H A D | multistep-explicit-cast.cl | 8 …// CHECK: CStyleCastExpr {{.*}} <col:{{.*}}> 'char2':'char __attribute__((ext_vector_type(2)))' <V…
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/ |
| H A D | AvoidCStyleCastsCheck.cpp | 64 if (const auto *CastExpr = dyn_cast<CStyleCastExpr>(Expr)) { in getReplaceRange() 81 if (const auto *CastExpr = dyn_cast<CStyleCastExpr>(Expr)) { in getDestTypeString()
|
| /llvm-project-15.0.7/clang/test/Index/ |
| H A D | annotate-tokens.m | 193 // 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=
|
| H A D | c-index-getCursor-test.m | 161 // CHECK: [52:18 - 52:33] CStyleCastExpr=
|
| H A D | c-index-api-loadTU-test.m | 152 // CHECK: c-index-api-loadTU-test.m:54:18: CStyleCastExpr= Extent=[54:18 - 54:36]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
| H A D | ProTypeCstyleCastCheck.cpp | 38 const auto *MatchedCast = Result.Nodes.getNodeAs<CStyleCastExpr>("cast"); in check()
|
| /llvm-project-15.0.7/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteObjC.cpp | 310 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 D | RewriteModernObjC.cpp | 2172 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() 5139 if (const CStyleCastExpr *ECE = dyn_cast<CStyleCastExpr>(E)) in RewriteByRefVar() 5615 if (CStyleCastExpr *CE = dyn_cast<CStyleCastExpr>(S)) in RewriteFunctionBodyOrGlobalInitializer() 5642 if (CStyleCastExpr *CE = dyn_cast<CStyleCastExpr>(S)) { in RewriteFunctionBodyOrGlobalInitializer() 5754 if (CStyleCastExpr *CE = dyn_cast<CStyleCastExpr>(VD->getInit())) { in HandleDeclInMainFile() [all …]
|
| /llvm-project-15.0.7/clang/lib/ARCMigrate/ |
| H A D | TransUnbridgedCasts.cpp | 228 if (CStyleCastExpr *CCE = dyn_cast<CStyleCastExpr>(E)) { in rewriteToBridgedCast()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | StaticAssertCheck.cpp | 84 const auto *CastExpr = Result.Nodes.getNodeAs<CStyleCastExpr>("castExpr"); in check()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | MagicNumbersCheck.cpp | 147 if (Parent.get<CStyleCastExpr>() && in isConstant()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | ReachableCode.cpp | 586 const CStyleCastExpr *CSC = cast<CStyleCastExpr>(S); in GetUnreachableLoc()
|
| H A D | UninitializedValues.cpp | 449 else if (const auto *CSE = dyn_cast<CStyleCastExpr>(CE)) { in VisitCastExpr()
|
| H A D | CalledOnceCheck.cpp | 1621 void VisitCStyleCastExpr(const CStyleCastExpr *Cast) { in VisitCStyleCastExpr()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | RedundantVoidArgCheck.cpp | 86 Nodes.getNodeAs<CStyleCastExpr>(CStyleCastId)) in check()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Expr.cpp | 1967 return static_cast<CStyleCastExpr *>(this) in getTrailingFPFeatures() 2011 CStyleCastExpr *CStyleCastExpr::Create(const ASTContext &C, QualType T, in Create() 2021 CStyleCastExpr *E = in Create() 2022 new (Buffer) CStyleCastExpr(T, VK, K, Op, PathSize, FPO, WrittenTy, L, R); in Create() 2029 CStyleCastExpr *CStyleCastExpr::CreateEmpty(const ASTContext &C, in CreateEmpty() 2035 return new (Buffer) CStyleCastExpr(EmptyShell(), PathSize, HasFPFeatures); in CreateEmpty() 2821 const CStyleCastExpr *CStyleCE = cast<CStyleCastExpr>(this); in isUnusedResultAWarning() 2879 return cast<CStyleCastExpr>(E)->getSubExpr()->isOBJCGCCandidate(Ctx); in isOBJCGCCandidate()
|
| /llvm-project-15.0.7/clang/unittests/Tooling/ |
| H A D | ASTSelectionTest.cpp | 577 const auto &CCast = checkNode<CStyleCastExpr>( in TEST() 621 const auto &CCast = checkNode<CStyleCastExpr>( in TEST()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | StmtNodes.td | 86 def CStyleCastExpr : StmtNode<ExplicitCastExpr>;
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Expr.h | 3735 class CStyleCastExpr final 3737 private llvm::TrailingObjects<CStyleCastExpr, CXXBaseSpecifier *, 3742 CStyleCastExpr(QualType exprTy, ExprValueKind vk, CastKind kind, Expr *op, in CStyleCastExpr() function 3753 explicit CStyleCastExpr(EmptyShell Shell, unsigned PathSize, in CStyleCastExpr() function 3762 static CStyleCastExpr * 3767 static CStyleCastExpr *CreateEmpty(const ASTContext &Context,
|
| /llvm-project-15.0.7/clang/test/AST/ |
| H A D | ast-dump-expr-json.m | 2227 // CHECK-NEXT: "kind": "CStyleCastExpr", 2411 // CHECK-NEXT: "kind": "CStyleCastExpr", 2522 // CHECK-NEXT: "kind": "CStyleCastExpr", 2732 // CHECK-NEXT: "kind": "CStyleCastExpr", 3525 // CHECK-NEXT: "kind": "CStyleCastExpr", 3731 // CHECK-NEXT: "kind": "CStyleCastExpr", 3842 // CHECK-NEXT: "kind": "CStyleCastExpr", 4052 // CHECK-NEXT: "kind": "CStyleCastExpr",
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaExprObjC.cpp | 3784 if (CStyleCastExpr *CCE = dyn_cast<CStyleCastExpr>(castedE)) in addFixitForObjCARCConversion() 4523 if (CStyleCastExpr *cast = dyn_cast<CStyleCastExpr>(realCast)) { in diagnoseARCUnbridgedCast()
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/ |
| H A D | ASTMatchersInternal.cpp | 970 const internal::VariadicDynCastAllOfMatcher<Stmt, CStyleCastExpr>
|