Home
last modified time | relevance | path

Searched refs:IgnoreParenImpCasts (Results 1 – 25 of 46) 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()
613 E = E->IgnoreParenImpCasts(); in stripCastsAndSugar()
615 E = POE->getSyntacticForm()->IgnoreParenImpCasts(); in stripCastsAndSugar()
617 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.cpp1142 dyn_cast<BinaryOperator>(InitExpr->IgnoreParenImpCasts())) { in isCheckingPlurality()
1159 BO->getRHS()->IgnoreParenImpCasts())) { in isCheckingPlurality()
1232 const Expr *Condition = I->getCond()->IgnoreParenImpCasts(); in VisitIfStmt()
1262 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.cpp497 Expr *Base = E->getBase()->IgnoreParenImpCasts(); in ClassifyMemberExpr()
562 bool TrueIsThrow = isa<CXXThrowExpr>(True->IgnoreParenImpCasts()); in ClassifyConditional()
563 bool FalseIsThrow = isa<CXXThrowExpr>(False->IgnoreParenImpCasts()); in ClassifyConditional()
591 if (CE->getSubExpr()->IgnoreParenImpCasts()->isLValue()) { in IsModifiable()
DParentMap.cpp145 } while (S && isa<Expr>(S) && cast<Expr>(S)->IgnoreParenImpCasts() != S); in getParentIgnoreParenImpCasts()
DExpr.cpp1186 Expr *CEE = getCallee()->IgnoreParenImpCasts(); in getCalleeDecl()
2413 Expr *Expr::IgnoreParenImpCasts() { in IgnoreParenImpCasts() function in Expr
3271 const Expr *E = IgnoreParenImpCasts(); in isObjCSelfExpr()
3350 const Expr *E = this->IgnoreParenImpCasts(); in refersToGlobalRegisterVar()
3896 dyn_cast<ArraySubscriptExpr>(Base->IgnoreParenImpCasts())) { in getBaseOriginalType()
3900 Base = Base->IgnoreParenImpCasts(); in getBaseOriginalType()
DNSAPI.cpp566 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E->IgnoreParenImpCasts())) in isObjCEnumerator()
/external/clang/lib/Sema/
DSemaOpenMP.cpp3670 E = E->IgnoreParenImpCasts(); in ActOnOpenMPDeclareSimdDirective()
3697 E = E->IgnoreParenImpCasts(); in ActOnOpenMPDeclareSimdDirective()
3767 E = E->IgnoreParenImpCasts(); in ActOnOpenMPDeclareSimdDirective()
4032 NewLB = CE->getArg(0)->IgnoreParenImpCasts(); in SetLCDeclAndLB()
4141 isa<CXXThisExpr>(ME->getBase()->IgnoreParenImpCasts())) in CheckInit()
4169 isa<CXXThisExpr>(ME->getBase()->IgnoreParenImpCasts())) in CheckInit()
4195 E = CE->getArg(0)->IgnoreParenImpCasts(); in GetInitLCDecl()
4205 if (ME->isArrow() && isa<CXXThisExpr>(ME->getBase()->IgnoreParenImpCasts())) in GetInitLCDecl()
4271 RHS = RHS->IgnoreParenImpCasts(); in CheckIncRHS()
6119 AtomicBinOp->getRHS()->IgnoreParenImpCasts())) { in checkBinaryOperation()
[all …]
DSemaChecking.cpp1579 if (!isa<StringLiteral>(Arg->IgnoreParenImpCasts())) in SemaBuiltinCpuSupports()
1585 cast<StringLiteral>(Arg->IgnoreParenImpCasts())->getString(); in SemaBuiltinCpuSupports()
1967 dyn_cast<ObjCStringLiteral>(FormatExpr->IgnoreParenImpCasts())) in DiagnoseCStringFormatDirectiveInCFAPI()
1970 FormatString = dyn_cast<StringLiteral>(FormatExpr->IgnoreParenImpCasts()); in DiagnoseCStringFormatDirectiveInCFAPI()
3629 if (!isa<StringLiteral>(Arg->IgnoreParenImpCasts())) in SemaBuiltinARMSpecialReg()
3634 StringRef Reg = cast<StringLiteral>(Arg->IgnoreParenImpCasts())->getString(); in SemaBuiltinARMSpecialReg()
3909 Init = InitList->getInit(0)->IgnoreParenImpCasts(); in checkFormatStringExpr()
5961 QualType ArgType = Call->getArg(0)->IgnoreParenImpCasts()->getType(); in CheckAbsoluteValueFunction()
6100 return SizeOf->getArgumentExpr()->IgnoreParenImpCasts(); in getSizeOfExprArg()
6136 const Expr *LenExpr = Call->getArg(LenArg)->IgnoreParenImpCasts(); in CheckMemaccessArguments()
[all …]
DScopeInfo.cpp73 IsExact = isa<CXXThisExpr>(ME->getBase()->IgnoreParenImpCasts()); in getBaseInfo()
DSemaExpr.cpp4945 Context.getAsConstantArrayType(ArgExpr->IgnoreParenImpCasts()->getType()); in CheckStaticArrayArgument()
6142 NullExpr = NullExpr->IgnoreParenImpCasts(); in DiagnoseConditionalForNull()
6957 E = E->IgnoreParenImpCasts(); in ExprLooksBoolean()
8002 bool LHSNull = isa<GNUNullExpr>(LHS.get()->IgnoreParenImpCasts()); in checkArithmeticNull()
8003 bool RHSNull = isa<GNUNullExpr>(RHS.get()->IgnoreParenImpCasts()); in checkArithmeticNull()
8746 QualType LHSStrippedType = LHS->IgnoreParenImpCasts()->getType(); in checkEnumComparison()
8747 QualType RHSStrippedType = RHS->IgnoreParenImpCasts()->getType(); in checkEnumComparison()
8838 switch (E.get()->IgnoreParenImpCasts()->getStmtClass()) { in isObjCObjectLiteral()
8897 FromE = FromE->IgnoreParenImpCasts(); in CheckLiteralKind()
9057 Expr *LHSStripped = LHS.get()->IgnoreParenImpCasts(); in CheckCompareOperands()
[all …]
DSemaStmt.cpp139 CanAssign = Op->getLHS()->IgnoreParenImpCasts()->isLValue(); in DiagnoseUnusedComparison()
158 CanAssign = Op->getArg(0)->IgnoreParenImpCasts()->isLValue(); in DiagnoseUnusedComparison()
199 SourceLocation ExprLoc = E->IgnoreParenImpCasts()->getExprLoc(); in DiagnoseUnusedExprResult()
715 dyn_cast<DeclRefExpr>(CaseExpr->IgnoreParenImpCasts())) { in ShouldDiagnoseSwitchCaseNotInEnum()
1395 E = E->IgnoreParenImpCasts(); in CheckLValueToRValueCast()
/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/lib/Analysis/
DCallGraph.cpp46 Expr *CEE = CE->getCallee()->IgnoreParenImpCasts(); in getDeclFromCall()
DReachableCode.cpp510 S = Ex->IgnoreParenImpCasts(); in GetUnreachableLoc()
/external/v8/tools/clang/rewrite_scoped_refptr/
DRewriteScopedRefptr.cpp82 op->getSubExpr()->IgnoreParenImpCasts(); in RewriteImplicitToExplicitConversion()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h683 return InnerMatcher.matches(*Node.IgnoreParenImpCasts(), Finder, Builder); in AST_MATCHER_P()
2439 ->IgnoreParenImpCasts(); in AST_MATCHER_P()
2937 *Node.getArg(N)->IgnoreParenImpCasts(), Finder, Builder)); in AST_POLYMORPHIC_MATCHER_P2()
/external/clang/lib/CodeGen/
DCGStmtOpenMP.cpp407 const Expr *LHS = CE->getArg(/*Arg=*/0)->IgnoreParenImpCasts(); in emitInitWithReductionInitializer()
408 const Expr *RHS = CE->getArg(/*Arg=*/1)->IgnoreParenImpCasts(); in emitInitWithReductionInitializer()
950 auto *Base = OASE->getBase()->IgnoreParenImpCasts(); in EmitOMPReductionClauseInit()
952 Base = TempOASE->getBase()->IgnoreParenImpCasts(); in EmitOMPReductionClauseInit()
954 Base = TempASE->getBase()->IgnoreParenImpCasts(); in EmitOMPReductionClauseInit()
1009 auto *Base = ASE->getBase()->IgnoreParenImpCasts(); in EmitOMPReductionClauseInit()
1011 Base = TempASE->getBase()->IgnoreParenImpCasts(); in EmitOMPReductionClauseInit()
DCGOpenMPRuntime.cpp3917 if (auto *ASE = dyn_cast<OMPArraySectionExpr>(E->IgnoreParenImpCasts())) { in emitTaskCall()
4530 RHSExpr->IgnoreParenImpCasts())) { in emitReduction()
4536 dyn_cast<BinaryOperator>(RHSExpr->IgnoreParenImpCasts())) { in emitReduction()
5016 OAE->getBase()->IgnoreParenImpCasts()) in getExprTypeSize()
5107 OASE->getBase()->IgnoreParenImpCasts()) in isFinalArraySectionExpression()
6416 E = E->IgnoreParenImpCasts(); in emitDeclareSimdFunction()
6430 E = E->IgnoreParenImpCasts(); in emitDeclareSimdFunction()
6453 E = E->IgnoreParenImpCasts(); in emitDeclareSimdFunction()
6467 if (auto *DRE = cast<DeclRefExpr>((*SI)->IgnoreParenImpCasts())) { in emitDeclareSimdFunction()

12