| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | UndefinedAssignmentChecker.cpp | 90 if (I->getInit()->IgnoreImpCasts() == StoreE) { in checkBind()
|
| H A D | CheckSecuritySyntaxOnly.cpp | 683 const auto *Target = CE->getArg(0)->IgnoreImpCasts(), in checkCall_strcpy() 684 *Source = CE->getArg(1)->IgnoreImpCasts(); in checkCall_strcpy()
|
| H A D | NullabilityChecker.cpp | 648 return E->IgnoreImpCasts(); in lookThroughImplicitCasts()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Edit/ |
| H A D | RewriteObjCFoundationAPI.cpp | 893 const Expr* Expr = FullExpr->IgnoreImpCasts(); in subscriptOperatorNeedsParens() 915 const Expr* Expr = FullExpr->IgnoreImpCasts(); in castOperatorNeedsParens() 993 const Expr *OrigArg = Arg->IgnoreImpCasts(); in rewriteToNumericBoxedExpression() 1134 const Expr *OrigArg = Arg->IgnoreImpCasts(); in doRewriteToUTF8StringBoxedExpressionHelper()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaFixItUtils.cpp | 65 const Expr* Expr = FullExpr->IgnoreImpCasts(); in tryToFixConversion()
|
| H A D | SemaStmtAsm.cpp | 196 Expression = Expression->IgnoreImpCasts(); in extractRegisterName()
|
| H A D | SemaStmt.cpp | 259 if (isa<ParenExpr>(E->IgnoreImpCasts()) && Loc.isMacroID()) { in DiagnoseUnusedExprResult() 280 E = Cast->getSubExpr()->IgnoreImpCasts(); in DiagnoseUnusedExprResult() 3117 const Expr *E = MTE->getSubExpr()->IgnoreImpCasts(); in DiagnoseForRangeReferenceVariableCopies() 3131 E = E->IgnoreImpCasts(); in DiagnoseForRangeReferenceVariableCopies()
|
| H A D | SemaTemplateVariadic.cpp | 1186 E = E->IgnoreImpCasts(); in CheckFoldOperand()
|
| H A D | SemaExpr.cpp | 9547 E = E->IgnoreImpCasts(); in IsArithmeticBinaryExpr() 9549 E = E->IgnoreImpCasts(); in IsArithmeticBinaryExpr() 9552 E = E->IgnoreImpCasts(); in IsArithmeticBinaryExpr() 10784 QualType LHSType = LHS.get()->IgnoreImpCasts()->getType(); in InvalidLogicalVectorOperands() 10785 QualType RHSType = RHS.get()->IgnoreImpCasts()->getType(); in InvalidLogicalVectorOperands() 11756 StrExpr = dyn_cast<StringLiteral>(RHSExpr->IgnoreImpCasts()); in diagnoseStringPlusInt() 11767 << DiagRange << IndexExpr->IgnoreImpCasts()->getType(); in diagnoseStringPlusInt() 11785 dyn_cast<CharacterLiteral>(RHSExpr->IgnoreImpCasts()); in diagnoseStringPlusChar() 11788 CharExpr = dyn_cast<CharacterLiteral>(LHSExpr->IgnoreImpCasts()); in diagnoseStringPlusChar() 11820 if (isa<CharacterLiteral>(RHSExpr->IgnoreImpCasts())) { in diagnoseStringPlusChar() [all …]
|
| H A D | SemaChecking.cpp | 768 Expr *Builtin = BuiltinCall->getCallee()->IgnoreImpCasts(); in SemaBuiltinCallWithStaticChain() 2889 auto *DRE = dyn_cast<DeclRefExpr>(TheCall->getArg(0)->IgnoreImpCasts()); in CheckBuiltinFunctionCall() 11913 const Expr *Inside = E->IgnoreImpCasts(); in requiresParensToAddCast() 11915 Inside = POE->getSyntacticForm()->IgnoreImpCasts(); in requiresParensToAddCast() 13343 Call->getArg(BId == Builtin::BImemset ? 2 : 1)->IgnoreImpCasts(); in CheckMemaccessSize() 13367 } else if (!isLiteralZero(Call->getArg(1)->IgnoreImpCasts())) { in CheckMemaccessSize() 16426 E = E->IgnoreImpCasts(); in DiagnoseAlwaysNonNullPointer() 18593 Expr *Arg = Message->getArg(ArgIndex)->IgnoreImpCasts(); in CheckObjCCircularContainer() 18595 Arg = OE->getSourceExpr()->IgnoreImpCasts(); in CheckObjCCircularContainer() 18607 Expr *Receiver = Message->getInstanceReceiver()->IgnoreImpCasts(); in CheckObjCCircularContainer() [all …]
|
| H A D | SemaExprMember.cpp | 1022 isa<CXXThisExpr>(BaseExpr->IgnoreImpCasts()) && in BuildMemberReferenceExpr()
|
| H A D | SemaOpenMP.cpp | 3309 AE->IgnoreImpCasts()->Profile(AEId, S.getASTContext(), /*Canonical=*/true); in getAllocatorKind() 3314 DefAllocator->IgnoreImpCasts()->Profile(DAEId, S.getASTContext(), in getAllocatorKind() 4647 Expr *Init = AsExpression ? CaptureExpr : CaptureExpr->IgnoreImpCasts(); in buildCaptureDecl() 8601 Capture->IgnoreImpCasts(), Capture->getType(), Sema::AA_Converting, in tryBuildCapture() 9864 N0->IgnoreImpCasts(), N0->getType(), in checkOpenMPLoop() 9871 .PerformImplicitConversion(N0->IgnoreImpCasts(), N0->getType(), in checkOpenMPLoop() 9897 .PerformImplicitConversion(N->IgnoreImpCasts(), N->getType(), in checkOpenMPLoop() 9905 .PerformImplicitConversion(N->IgnoreImpCasts(), N->getType(), in checkOpenMPLoop() 12464 auto *BO = cast<BinaryOperator>(S1->getRHS()->IgnoreImpCasts()); in checkForm45() 12581 if (isa<BinaryOperator>(BO->getRHS()->IgnoreImpCasts()) || in checkStmt() [all …]
|
| H A D | SemaExprObjC.cpp | 3785 castedE = castedE->IgnoreImpCasts(); in addFixitForObjCARCConversion() 3828 Expr *castedE = castExpr->IgnoreImpCasts(); in addFixitForObjCARCConversion()
|
| H A D | SemaTemplate.cpp | 6859 Arg = Arg->IgnoreImpCasts(); in CheckTemplateArgumentAddressOfObjectOrFunction() 6891 Arg = subst->getReplacement()->IgnoreImpCasts(); in CheckTemplateArgumentAddressOfObjectOrFunction() 6903 Arg = subst->getReplacement()->IgnoreImpCasts(); in CheckTemplateArgumentAddressOfObjectOrFunction() 7114 Arg = subst->getReplacement()->IgnoreImpCasts(); in CheckTemplateArgumentPointerToMember()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | UnsafeBufferUsage.cpp | 790 dyn_cast<DeclRefExpr>(Node->getBase()->IgnoreImpCasts())) { in getClaimedVarUseSites() 908 cast<DeclRefExpr>(ArraySubst->getBase()->IgnoreImpCasts()); in getClaimedVarUseSites() 1397 dyn_cast<DeclRefExpr>(Node->getBase()->IgnoreImpCasts())) in getFixits() 1812 const auto *DRE = cast<DeclRefExpr>(ArraySub->getBase()->IgnoreImpCasts()); in fixUPCAddressofArraySubscriptWithSpan() 1961 if (auto CxxNew = dyn_cast<CXXNewExpr>(Init->IgnoreImpCasts())) { in FixVarInitializerWithSpan() 1978 Init->IgnoreImpCasts()->getType())) { in FixVarInitializerWithSpan() 1986 if (auto AddrOfExpr = dyn_cast<UnaryOperator>(Init->IgnoreImpCasts())) in FixVarInitializerWithSpan()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/ |
| H A D | ASTSelection.cpp | 281 CE->getCallee()->IgnoreImpCasts() == S) in getSelectionCanonizalizationAction()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | StmtPrinter.cpp | 1154 OCED->getInit()->IgnoreImpCasts()->printPretty(OS, nullptr, Policy); in VisitDeclRefExpr() 1215 !isImplicitSelf(Node->getBase()->IgnoreImpCasts())) { in VisitObjCIvarRefExpr() 2013 OS << cast<StringLiteral>(Node->getArg(0)->IgnoreImpCasts())->getString(); in VisitUserDefinedLiteral() 2016 const auto *DRE = cast<DeclRefExpr>(Node->getCallee()->IgnoreImpCasts()); in VisitUserDefinedLiteral()
|
| H A D | ExprClassification.cpp | 229 auto *Base = cast<ArraySubscriptExpr>(E)->getBase()->IgnoreImpCasts(); in ClassifyInternal()
|
| H A D | ASTDiagnostic.cpp | 1870 E = E->IgnoreImpCasts(); in HasExtraInfo()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexBody.cpp | 104 auto BaseTy = ME->getBase()->IgnoreImpCasts()->getType(); in getRolesForRef()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGStmtOpenMP.cpp | 2151 dyn_cast<DeclRefExpr>(VD->getInit()->IgnoreImpCasts())) { in EmitOMPLinearClauseInit() 2437 EmitLValue(CED->getInit()->IgnoreImpCasts()).getAddress(*this); in EmitOMPSimdFinal() 6241 assert(isa<BinaryOperator>(UE->IgnoreImpCasts()) && in emitOMPAtomicUpdateExpr() 6243 const auto *BOUE = cast<BinaryOperator>(UE->IgnoreImpCasts()); in emitOMPAtomicUpdateExpr() 6253 const auto *LHS = cast<OpaqueValueExpr>(BOUE->getLHS()->IgnoreImpCasts()); in emitOMPAtomicUpdateExpr() 6254 const auto *RHS = cast<OpaqueValueExpr>(BOUE->getRHS()->IgnoreImpCasts()); in emitOMPAtomicUpdateExpr() 6317 assert(isa<BinaryOperator>(UE->IgnoreImpCasts()) && in emitOMPAtomicCaptureExpr() 6319 const auto *BOUE = cast<BinaryOperator>(UE->IgnoreImpCasts()); in emitOMPAtomicCaptureExpr() 6326 const auto *LHS = cast<OpaqueValueExpr>(BOUE->getLHS()->IgnoreImpCasts()); in emitOMPAtomicCaptureExpr() 6327 const auto *RHS = cast<OpaqueValueExpr>(BOUE->getRHS()->IgnoreImpCasts()); in emitOMPAtomicCaptureExpr() [all …]
|
| H A D | CodeGenFunction.cpp | 1959 auto *Call = dyn_cast<CallExpr>(Cond->IgnoreImpCasts()); in EmitBranchOnBoolExpr()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | Expr.h | 848 Expr *IgnoreImpCasts() LLVM_READONLY; 849 const Expr *IgnoreImpCasts() const { in IgnoreImpCasts() function 850 return const_cast<Expr *>(this)->IgnoreImpCasts(); in IgnoreImpCasts()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | ObjCMT.cpp | 217 const Expr* Expr = FullExpr->IgnoreImpCasts(); in subscriptOperatorNeedsParens()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 925 return InnerMatcher.matches(*Node.IgnoreImpCasts(), Finder, Builder); in AST_MATCHER_P()
|