Home
last modified time | relevance | path

Searched refs:IgnoreImpCasts (Results 1 – 25 of 36) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DUndefinedAssignmentChecker.cpp90 if (I->getInit()->IgnoreImpCasts() == StoreE) { in checkBind()
H A DCheckSecuritySyntaxOnly.cpp683 const auto *Target = CE->getArg(0)->IgnoreImpCasts(), in checkCall_strcpy()
684 *Source = CE->getArg(1)->IgnoreImpCasts(); in checkCall_strcpy()
H A DNullabilityChecker.cpp648 return E->IgnoreImpCasts(); in lookThroughImplicitCasts()
/freebsd-14.2/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp893 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 DSemaFixItUtils.cpp65 const Expr* Expr = FullExpr->IgnoreImpCasts(); in tryToFixConversion()
H A DSemaStmtAsm.cpp196 Expression = Expression->IgnoreImpCasts(); in extractRegisterName()
H A DSemaStmt.cpp259 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 DSemaTemplateVariadic.cpp1186 E = E->IgnoreImpCasts(); in CheckFoldOperand()
H A DSemaExpr.cpp9547 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 DSemaChecking.cpp768 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 DSemaExprMember.cpp1022 isa<CXXThisExpr>(BaseExpr->IgnoreImpCasts()) && in BuildMemberReferenceExpr()
H A DSemaOpenMP.cpp3309 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 DSemaExprObjC.cpp3785 castedE = castedE->IgnoreImpCasts(); in addFixitForObjCARCConversion()
3828 Expr *castedE = castExpr->IgnoreImpCasts(); in addFixitForObjCARCConversion()
H A DSemaTemplate.cpp6859 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 DUnsafeBufferUsage.cpp790 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 DASTSelection.cpp281 CE->getCallee()->IgnoreImpCasts() == S) in getSelectionCanonizalizationAction()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DStmtPrinter.cpp1154 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 DExprClassification.cpp229 auto *Base = cast<ArraySubscriptExpr>(E)->getBase()->IgnoreImpCasts(); in ClassifyInternal()
H A DASTDiagnostic.cpp1870 E = E->IgnoreImpCasts(); in HasExtraInfo()
/freebsd-14.2/contrib/llvm-project/clang/lib/Index/
H A DIndexBody.cpp104 auto BaseTy = ME->getBase()->IgnoreImpCasts()->getType(); in getRolesForRef()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp2151 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 DCodeGenFunction.cpp1959 auto *Call = dyn_cast<CallExpr>(Cond->IgnoreImpCasts()); in EmitBranchOnBoolExpr()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h848 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 DObjCMT.cpp217 const Expr* Expr = FullExpr->IgnoreImpCasts(); in subscriptOperatorNeedsParens()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h925 return InnerMatcher.matches(*Node.IgnoreImpCasts(), Finder, Builder); in AST_MATCHER_P()

12