Home
last modified time | relevance | path

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

12

/external/clang/lib/StaticAnalyzer/Checkers/
DMallocOverflowSecurityChecker.cpp81 e = e->IgnoreParenImpCasts(); in CheckMallocArgument()
163 const Expr *E = E_p->IgnoreParenImpCasts(); in CheckExpr()
190 const Expr *rhse = rhs->IgnoreParenImpCasts(); in CheckAssignmentExpr()
193 const Expr *denom = BOp->getRHS()->IgnoreParenImpCasts(); in CheckAssignmentExpr()
196 const Expr *numerator = BOp->getLHS()->IgnoreParenImpCasts(); in CheckAssignmentExpr()
210 const Expr *E = lhs->IgnoreParenImpCasts(); in CheckAssignmentExpr()
DDynamicTypePropagation.cpp327 RecE= RecE->IgnoreParenImpCasts(); in getObjectTypeForAllocAndNew()
588 E = E->IgnoreParenImpCasts(); in stripCastsAndSugar()
590 E = POE->getSyntacticForm()->IgnoreParenImpCasts(); in stripCastsAndSugar()
592 E = OVE->getSourceExpr()->IgnoreParenImpCasts(); in stripCastsAndSugar()
DIdenticalExprChecker.cpp223 const Expr *LHS = B->getLHS()->IgnoreParenImpCasts(); in checkComparisonOp()
224 const Expr *RHS = B->getRHS()->IgnoreParenImpCasts(); in checkComparisonOp()
DLocalizationChecker.cpp1043 dyn_cast<BinaryOperator>(InitExpr->IgnoreParenImpCasts())) { in isCheckingPlurality()
1060 BO->getRHS()->IgnoreParenImpCasts())) { in isCheckingPlurality()
1133 const Expr *Condition = I->getCond()->IgnoreParenImpCasts(); in VisitIfStmt()
1163 const Expr *Condition = C->getCond()->IgnoreParenImpCasts(); in VisitConditionalOperator()
DCheckSecuritySyntaxOnly.cpp446 ->IgnoreParenImpCasts()); in checkCall_mkstemp()
/external/clang/lib/ARCMigrate/
DTransUnbridgedCasts.cpp182 Expr *base = inner->IgnoreParenImpCasts(); in transformNonObjCToObjCCast()
184 base = cast<MemberExpr>(base)->getBase()->IgnoreParenImpCasts(); in transformNonObjCToObjCCast()
288 SourceRange SubRange = E->getSubExpr()->IgnoreParenImpCasts()->getSourceRange(); in getBlockMacroRanges()
438 if (arg == E || arg->IgnoreParenImpCasts() == E) in isPassedToCParamWithKnownOwnership()
DTransRetainReleaseDealloc.cpp85 rec = rec->IgnoreParenImpCasts(); in VisitObjCMessageExpr()
374 Rec = Init->IgnoreParenImpCasts(); in checkForGCDOrXPC()
376 Rec = EWC->getSubExpr()->IgnoreParenImpCasts(); in checkForGCDOrXPC()
DTransGCCalls.cpp46 Expr *CEE = E->getCallee()->IgnoreParenImpCasts(); in VisitCallExpr()
DTransProperties.cpp292 Expr *lhs = E->getLHS()->IgnoreParenImpCasts(); in VisitBinAssign()
/external/clang/lib/AST/
DExprClassification.cpp496 Expr *Base = E->getBase()->IgnoreParenImpCasts(); in ClassifyMemberExpr()
561 bool TrueIsThrow = isa<CXXThrowExpr>(True->IgnoreParenImpCasts()); in ClassifyConditional()
562 bool FalseIsThrow = isa<CXXThrowExpr>(False->IgnoreParenImpCasts()); in ClassifyConditional()
590 if (CE->getSubExpr()->IgnoreParenImpCasts()->isLValue()) { in IsModifiable()
DParentMap.cpp143 } while (S && isa<Expr>(S) && cast<Expr>(S)->IgnoreParenImpCasts() != S); in getParentIgnoreParenImpCasts()
DNSAPI.cpp574 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E->IgnoreParenImpCasts())) in isObjCEnumerator()
DExpr.cpp1198 Expr *CEE = getCallee()->IgnoreParenImpCasts(); in getCalleeDecl()
2566 Expr *Expr::IgnoreParenImpCasts() { in IgnoreParenImpCasts() function in Expr
3412 const Expr *E = IgnoreParenImpCasts(); in isObjCSelfExpr()
3491 const Expr *E = this->IgnoreParenImpCasts(); in refersToGlobalRegisterVar()
/external/clang/lib/Sema/
DSemaChecking.cpp1080 if (!isa<StringLiteral>(Arg->IgnoreParenImpCasts())) in SemaBuiltinCpuSupports()
1086 cast<StringLiteral>(Arg->IgnoreParenImpCasts())->getString(); in SemaBuiltinCpuSupports()
1253 dyn_cast<ObjCStringLiteral>(FormatExpr->IgnoreParenImpCasts())) in DiagnoseCStringFormatDirectiveInCFAPI()
1256 FormatString = dyn_cast<StringLiteral>(FormatExpr->IgnoreParenImpCasts()); in DiagnoseCStringFormatDirectiveInCFAPI()
2898 if (!isa<StringLiteral>(Arg->IgnoreParenImpCasts())) in SemaBuiltinARMSpecialReg()
2903 StringRef Reg = cast<StringLiteral>(Arg->IgnoreParenImpCasts())->getString(); in SemaBuiltinARMSpecialReg()
3100 Init = InitList->getInit(0)->IgnoreParenImpCasts(); in checkFormatStringExpr()
5072 QualType ArgType = Call->getArg(0)->IgnoreParenImpCasts()->getType(); in CheckAbsoluteValueFunction()
5212 return SizeOf->getArgumentExpr()->IgnoreParenImpCasts(); in getSizeOfExprArg()
5248 const Expr *LenExpr = Call->getArg(LenArg)->IgnoreParenImpCasts(); in CheckMemaccessArguments()
[all …]
DSemaOpenMP.cpp2821 NewLB = CE->getArg(0)->IgnoreParenImpCasts(); in SetVarAndLB()
2957 E = CE->getArg(0)->IgnoreParenImpCasts(); in GetInitVarDecl()
3023 RHS = RHS->IgnoreParenImpCasts(); in CheckIncRHS()
4728 AtomicBinOp->getRHS()->IgnoreParenImpCasts())) { in checkBinaryOperation()
4737 X->IgnoreParenImpCasts()->Profile(XId, SemaRef.getASTContext(), in checkBinaryOperation()
4739 LHS->IgnoreParenImpCasts()->Profile(LHSId, SemaRef.getASTContext(), in checkBinaryOperation()
4741 RHS->IgnoreParenImpCasts()->Profile(RHSId, SemaRef.getASTContext(), in checkBinaryOperation()
4798 AtomicBody = AtomicBody->IgnoreParenImpCasts(); in checkStatement()
4802 AtomicBody->IgnoreParenImpCasts())) { in checkStatement()
4811 AtomicBody->IgnoreParenImpCasts())) { in checkStatement()
[all …]
DScopeInfo.cpp72 IsExact = isa<CXXThisExpr>(ME->getBase()->IgnoreParenImpCasts()); in getBaseInfo()
DSemaExpr.cpp4697 Context.getAsConstantArrayType(ArgExpr->IgnoreParenImpCasts()->getType()); in CheckStaticArrayArgument()
5839 NullExpr = NullExpr->IgnoreParenImpCasts(); in DiagnoseConditionalForNull()
6569 E = E->IgnoreParenImpCasts(); in ExprLooksBoolean()
7566 bool LHSNull = isa<GNUNullExpr>(LHS.get()->IgnoreParenImpCasts()); in checkArithmeticNull()
7567 bool RHSNull = isa<GNUNullExpr>(RHS.get()->IgnoreParenImpCasts()); in checkArithmeticNull()
8310 QualType LHSStrippedType = LHS->IgnoreParenImpCasts()->getType(); in checkEnumComparison()
8311 QualType RHSStrippedType = RHS->IgnoreParenImpCasts()->getType(); in checkEnumComparison()
8402 switch (E.get()->IgnoreParenImpCasts()->getStmtClass()) { in isObjCObjectLiteral()
8461 FromE = FromE->IgnoreParenImpCasts(); in CheckLiteralKind()
8621 Expr *LHSStripped = LHS.get()->IgnoreParenImpCasts(); in CheckCompareOperands()
[all …]
DSemaStmt.cpp138 CanAssign = Op->getLHS()->IgnoreParenImpCasts()->isLValue(); in DiagnoseUnusedComparison()
157 CanAssign = Op->getArg(0)->IgnoreParenImpCasts()->isLValue(); in DiagnoseUnusedComparison()
198 SourceLocation ExprLoc = E->IgnoreParenImpCasts()->getExprLoc(); in DiagnoseUnusedExprResult()
705 dyn_cast<DeclRefExpr>(CaseExpr->IgnoreParenImpCasts())) { in ShouldDiagnoseSwitchCaseNotInEnum()
1390 E = E->IgnoreParenImpCasts(); in CheckLValueToRValueCast()
DAnalysisBasedWarnings.cpp181 dyn_cast<DeclRefExpr>(CE->getCallee()->IgnoreParenImpCasts())) { in hasRecursiveCallInPath()
864 if (!alwaysReportSelfInit && DRE == Initializer->IgnoreParenImpCasts()) in DiagnoseUninitializedUse()
/external/clang/lib/Analysis/
DCallGraph.cpp46 Expr *CEE = CE->getCallee()->IgnoreParenImpCasts(); in getDeclFromCall()
DReachableCode.cpp510 S = Ex->IgnoreParenImpCasts(); in GetUnreachableLoc()
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp45 Msg->getInstanceReceiver()->IgnoreParenImpCasts())) { in checkForLiteralCreation()
67 const Expr *Arg = Msg->getArg(0)->IgnoreParenImpCasts(); in rewriteObjCRedundantCallWithLiteral()
759 const Expr *Arg = Msg->getArg(0)->IgnoreParenImpCasts(); in rewriteToNumberLiteral()
966 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E->IgnoreParenImpCasts())) in isEnumConstant()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h590 return InnerMatcher.matches(*Node.IgnoreParenImpCasts(), Finder, Builder); in AST_MATCHER_P()
2146 ->IgnoreParenImpCasts(); in AST_MATCHER_P()
2641 *Node.getArg(N)->IgnoreParenImpCasts(), Finder, Builder)); in AST_POLYMORPHIC_MATCHER_P2()
2843 if (InnerMatcher.matches(*Arg->IgnoreParenImpCasts(), Finder, &Result)) { in AST_POLYMORPHIC_MATCHER_P()
/external/clang/lib/CodeGen/
DCGStmtOpenMP.cpp669 auto *Base = OASE->getBase()->IgnoreParenImpCasts(); in EmitOMPReductionClauseInit()
671 Base = TempOASE->getBase()->IgnoreParenImpCasts(); in EmitOMPReductionClauseInit()
673 Base = TempASE->getBase()->IgnoreParenImpCasts(); in EmitOMPReductionClauseInit()
738 auto *Base = ASE->getBase()->IgnoreParenImpCasts(); in EmitOMPReductionClauseInit()
740 Base = TempASE->getBase()->IgnoreParenImpCasts(); in EmitOMPReductionClauseInit()
/external/clang/lib/ASTMatchers/
DASTMatchFinder.cpp153 StmtToTraverse = ExprNode->IgnoreParenImpCasts(); in TraverseStmt()

12