Home
last modified time | relevance | path

Searched refs:IgnoreParenImpCasts (Results 1 – 25 of 63) sorted by relevance

123

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocOverflowSecurityChecker.cpp82 e = e->IgnoreParenImpCasts(); in CheckMallocArgument()
160 const Expr *E = E_p->IgnoreParenImpCasts(); in CheckExpr()
191 const Expr *rhse = rhs->IgnoreParenImpCasts(); in CheckAssignmentExpr()
194 const Expr *denom = BOp->getRHS()->IgnoreParenImpCasts(); in CheckAssignmentExpr()
200 const Expr *numerator = BOp->getLHS()->IgnoreParenImpCasts(); in CheckAssignmentExpr()
214 const Expr *E = lhs->IgnoreParenImpCasts(); in CheckAssignmentExpr()
H A DCStringSyntaxChecker.cpp159 const auto *DstArgDRE = dyn_cast<DeclRefExpr>(DstArg->IgnoreParenImpCasts()); in containsBadStrlcpyStrlcatPattern()
181 if (const auto *IL = dyn_cast<IntegerLiteral>(LenArg->IgnoreParenImpCasts())) { in containsBadStrlcpyStrlcatPattern()
189 dyn_cast<BinaryOperator>(DstArg->IgnoreParenImpCasts())) { in containsBadStrlcpyStrlcatPattern()
190 DstArgDRE = dyn_cast<DeclRefExpr>(BE->getLHS()->IgnoreParenImpCasts()); in containsBadStrlcpyStrlcatPattern()
192 if ((IL = dyn_cast<IntegerLiteral>(BE->getRHS()->IgnoreParenImpCasts()))) { in containsBadStrlcpyStrlcatPattern()
H A DIdenticalExprChecker.cpp222 const Expr *LHS = B->getLHS()->IgnoreParenImpCasts(); in checkComparisonOp()
223 const Expr *RHS = B->getRHS()->IgnoreParenImpCasts(); in checkComparisonOp()
H A DCastValueChecker.cpp112 Object = Object->IgnoreParenImpCasts(); in getNoteTag()
143 Object = Object->IgnoreParenImpCasts(); in getNoteTag()
H A DSetgidSetuidOrderChecker.cpp172 dyn_cast<CallExpr>(Call.getArgExpr(0)->IgnoreParenImpCasts())) in isFunctionCalledInArg()
H A DLocalizationChecker.cpp1247 dyn_cast<BinaryOperator>(InitExpr->IgnoreParenImpCasts())) { in isCheckingPlurality()
1264 BO->getRHS()->IgnoreParenImpCasts())) { in isCheckingPlurality()
1340 Condition = Condition->IgnoreParenImpCasts(); in VisitIfStmt()
1370 const Expr *Condition = C->getCond()->IgnoreParenImpCasts(); in VisitConditionalOperator()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DSourceCodeBuilders.cpp91 getText(*Op->getSubExpr()->IgnoreParenImpCasts(), Context); in buildDereference()
114 getText(*Op->getSubExpr()->IgnoreParenImpCasts(), Context); in buildAddressOf()
136 const Expr *SubExpr = Op->getSubExpr()->IgnoreParenImpCasts(); in buildAccessForValue()
162 const Expr *SubExpr = Op->getSubExpr()->IgnoreParenImpCasts(); in buildAccessForPointer()
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransUnbridgedCasts.cpp180 Expr *base = inner->IgnoreParenImpCasts(); in transformNonObjCToObjCCast()
182 base = cast<MemberExpr>(base)->getBase()->IgnoreParenImpCasts(); in transformNonObjCToObjCCast()
285 SourceRange SubRange = E->getSubExpr()->IgnoreParenImpCasts()->getSourceRange(); in getBlockMacroRanges()
435 if (arg == E || arg->IgnoreParenImpCasts() == E) in isPassedToCParamWithKnownOwnership()
H A DTransRetainReleaseDealloc.cpp86 rec = rec->IgnoreParenImpCasts(); in VisitObjCMessageExpr()
378 Rec = Init->IgnoreParenImpCasts(); in checkForGCDOrXPC()
380 Rec = FE->getSubExpr()->IgnoreParenImpCasts(); in checkForGCDOrXPC()
H A DTransGCCalls.cpp45 Expr *CEE = E->getCallee()->IgnoreParenImpCasts(); in VisitCallExpr()
H A DTransProperties.cpp293 Expr *lhs = E->getLHS()->IgnoreParenImpCasts(); in VisitBinaryOperator()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprClassification.cpp562 Expr *Base = E->getBase()->IgnoreParenImpCasts(); in ClassifyMemberExpr()
632 bool TrueIsThrow = isa<CXXThrowExpr>(True->IgnoreParenImpCasts()); in ClassifyConditional()
633 bool FalseIsThrow = isa<CXXThrowExpr>(False->IgnoreParenImpCasts()); in ClassifyConditional()
660 if (CE->getSubExpr()->IgnoreParenImpCasts()->isLValue()) { in IsModifiable()
H A DParentMap.cpp161 cast<Expr>(S)->IgnoreParenImpCasts() != S); in getParentIgnoreParenImpCasts()
H A DExpr.cpp1546 Expr *CEE = IgnoreParenImpCasts(); in getReferencedDeclOfCallee()
1549 CEE = NTTP->getReplacement()->IgnoreParenImpCasts(); in getReferencedDeclOfCallee()
1555 CEE = BO->getRHS()->IgnoreParenImpCasts(); in getReferencedDeclOfCallee()
1561 CEE = UO->getSubExpr()->IgnoreParenImpCasts(); in getReferencedDeclOfCallee()
2439 Init = Init->IgnoreParenImpCasts(); in isStringLiteralInit()
3070 Expr *Expr::IgnoreParenImpCasts() { in IgnoreParenImpCasts() function in Expr
3153 ExprNode = ExprNode->IgnoreParenImpCasts(); in IgnoreUnlessSpelledInSource()
4085 const Expr *E = IgnoreParenImpCasts(); in isObjCSelfExpr()
4150 Expr *E = this->IgnoreParenImpCasts(); in getEnumConstantDecl()
4182 const Expr *E = this->IgnoreParenImpCasts(); in refersToGlobalRegisterVar()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp1287 TheCall->getArg(FormatIndex)->IgnoreParenImpCasts(); in checkFortifiedBuiltinMemoryFunction()
1322 auto *FormatExpr = TheCall->getArg(FormatIndex)->IgnoreParenImpCasts(); in checkFortifiedBuiltinMemoryFunction()
1411 const auto *FormatExpr = TheCall->getArg(2)->IgnoreParenImpCasts(); in checkFortifiedBuiltinMemoryFunction()
1762 const Expr *Arg = Call->getArg(0)->IgnoreParenImpCasts(); in PointerAuthStringDiscriminator()
1975 Expr *Arg = TheCall->getArg(0)->IgnoreParenImpCasts(); in BuiltinCpu()
2892 if (!isa<StringLiteral>(Arg->IgnoreParenImpCasts())) { in CheckBuiltinFunctionCall()
5156 dyn_cast<UnaryExprOrTypeTraitExpr>(Arg->IgnoreParenImpCasts())) in BuiltinAllocaWithAlign()
5778 Init = InitList->getInit(0)->IgnoreParenImpCasts(); in checkFormatStringExpr()
8231 QualType ArgType = Call->getArg(0)->IgnoreParenImpCasts()->getType(); in CheckAbsoluteValueFunction()
8440 return SizeOf->getArgumentExpr()->IgnoreParenImpCasts(); in getSizeOfExprArg()
[all …]
H A DSemaOpenMP.cpp2957 auto *DRE = dyn_cast<DeclRefExpr>(D.Allocator->IgnoreParenImpCasts()); in EndOpenMPDSABlock()
3348 const Expr *AE = Allocator->IgnoreParenImpCasts(); in getAllocatorKind()
3377 const Expr *AE = Allocator->IgnoreParenImpCasts(); in checkPreviousOMPAllocateAttribute()
3378 const Expr *PAE = PrevAllocator->IgnoreParenImpCasts(); in checkPreviousOMPAllocateAttribute()
4157 auto *CI = Callee->IgnoreParenImpCasts(); in VisitCallExpr()
5170 Expr *Base = ASE->getBase()->IgnoreParenImpCasts(); in getPrivateItem()
5172 Base = TempASE->getBase()->IgnoreParenImpCasts(); in getPrivateItem()
5176 Expr *Base = OASE->getBase()->IgnoreParenImpCasts(); in getPrivateItem()
5178 Base = TempOASE->getBase()->IgnoreParenImpCasts(); in getPrivateItem()
5180 Base = TempASE->getBase()->IgnoreParenImpCasts(); in getPrivateItem()
[all …]
H A DScopeInfo.cpp86 IsExact = isa<CXXThisExpr>(ME->getBase()->IgnoreParenImpCasts()); in getBaseInfo()
H A DSemaOpenACC.cpp1341 if (isa<ArraySectionExpr>(VarExpr->IgnoreParenImpCasts()) || in CheckVarIsPointerType()
1362 Expr *CurVarExpr = VarExpr->IgnoreParenImpCasts(); in ActOnVar()
1368 CurVarExpr = SubScrpt->getBase()->IgnoreParenImpCasts(); in ActOnVar()
1371 cast<ArraySectionExpr>(CurVarExpr)->getBase()->IgnoreParenImpCasts(); in ActOnVar()
H A DSemaConcept.cpp98 ConstraintExpression = ConstraintExpression->IgnoreParenImpCasts(); in CheckConstraintExpression()
329 ConstraintExpr = ConstraintExpr->IgnoreParenImpCasts(); in calculateConstraintSatisfaction()
1253 SubstExpr = SubstExpr->IgnoreParenImpCasts(); in diagnoseWellFormedUnsatisfiedConstraintExpr()
1575 E = E->IgnoreParenImpCasts(); in fromConstraintExpr()
H A DSemaExprObjC.cpp933 Expr *Key = Literal->getKeyValueElement(Idx).Key->IgnoreParenImpCasts(); in CheckObjCDictionaryLiteralDuplicateKeys()
946 if (auto *Str = dyn_cast<StringLiteral>(Boxed->IgnoreParenImpCasts())) { in CheckObjCDictionaryLiteralDuplicateKeys()
1555 cast<DeclRefExpr>(Receiver->IgnoreParenImpCasts())->getDecl()) in getMessageSendResultType()
1700 E = E->IgnoreParenImpCasts(); in EmitRelatedResultTypeNote()
2578 dyn_cast<ObjCStringLiteral>(FormatExpr->IgnoreParenImpCasts())) { in DiagnoseCStringFormatDirectiveInObjCAPI()
5094 Expr *SrcExpr = Exp->IgnoreParenImpCasts(); in CheckConversionToObjCLiteral()
5097 SrcExpr = OV->getSourceExpr()->IgnoreParenImpCasts(); in CheckConversionToObjCLiteral()
5209 FromE = FromE->IgnoreParenImpCasts(); in CheckLiteralKind()
/freebsd/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp45 Msg->getInstanceReceiver()->IgnoreParenImpCasts())) { in checkForLiteralCreation()
67 const Expr *Arg = Msg->getArg(0)->IgnoreParenImpCasts(); in rewriteObjCRedundantCallWithLiteral()
754 const Expr *Arg = Msg->getArg(0)->IgnoreParenImpCasts(); in rewriteToNumberLiteral()
965 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E->IgnoreParenImpCasts())) in isEnumConstant()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp608 const Expr *LHS = CE->getArg(/*Arg=*/0)->IgnoreParenImpCasts(); in emitInitWithReductionInitializer()
609 const Expr *RHS = CE->getArg(/*Arg=*/1)->IgnoreParenImpCasts(); in emitInitWithReductionInitializer()
947 const Expr *Base = OASE->getBase()->IgnoreParenImpCasts(); in getBaseDecl()
949 Base = TempOASE->getBase()->IgnoreParenImpCasts(); in getBaseDecl()
951 Base = TempASE->getBase()->IgnoreParenImpCasts(); in getBaseDecl()
955 const Expr *Base = ASE->getBase()->IgnoreParenImpCasts(); in getBaseDecl()
957 Base = TempASE->getBase()->IgnoreParenImpCasts(); in getBaseDecl()
3583 dyn_cast<ArraySectionExpr>(E->IgnoreParenImpCasts())) { in getPointerAndSize()
3782 const Expr *Evt = DC->getEventHandler()->IgnoreParenImpCasts(); in emitTaskInit()
3808 const auto *IE = cast<OMPIteratorExpr>(Modifier->IgnoreParenImpCasts()); in emitTaskInit()
[all …]
H A DCGOpenMPRuntimeGPU.cpp91 const Expr *Base = ASE->getBase()->IgnoreParenImpCasts(); in getPrivateItem()
93 Base = TempASE->getBase()->IgnoreParenImpCasts(); in getPrivateItem()
96 const Expr *Base = OASE->getBase()->IgnoreParenImpCasts(); in getPrivateItem()
98 Base = TempOASE->getBase()->IgnoreParenImpCasts(); in getPrivateItem()
100 Base = TempASE->getBase()->IgnoreParenImpCasts(); in getPrivateItem()
103 RefExpr = RefExpr->IgnoreParenImpCasts(); in getPrivateItem()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DASTOps.cpp190 return dyn_cast<MemberExpr>(Return->IgnoreParenImpCasts()); in getMemberForAccessor()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp424 dyn_cast<DeclRefExpr>(Node.getBase()->IgnoreParenImpCasts()); in AST_MATCHER()
591 dyn_cast<DeclRefExpr>(Op->getSubExpr()->IgnoreParenImpCasts())) { in getClaimedVarUseSites()
630 dyn_cast<DeclRefExpr>(Op->getSubExpr()->IgnoreParenImpCasts())) { in getClaimedVarUseSites()
676 dyn_cast<DeclRefExpr>(ASE->getBase()->IgnoreParenImpCasts())) { in getClaimedVarUseSites()
728 if (const auto *DRE = dyn_cast<DeclRefExpr>(Ptr->IgnoreParenImpCasts())) { in getClaimedVarUseSites()
1180 cast<DeclRefExpr>(ArraySubst->getBase()->IgnoreParenImpCasts()); in getClaimedVarUseSites()

123