/external/clang/lib/StaticAnalyzer/Checkers/ |
D | MallocOverflowSecurityChecker.cpp | 81 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()
|
D | DynamicTypePropagation.cpp | 327 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()
|
D | IdenticalExprChecker.cpp | 223 const Expr *LHS = B->getLHS()->IgnoreParenImpCasts(); in checkComparisonOp() 224 const Expr *RHS = B->getRHS()->IgnoreParenImpCasts(); in checkComparisonOp()
|
D | LocalizationChecker.cpp | 1142 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()
|
D | CheckSecuritySyntaxOnly.cpp | 446 ->IgnoreParenImpCasts()); in checkCall_mkstemp()
|
/external/clang/lib/ARCMigrate/ |
D | TransUnbridgedCasts.cpp | 182 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()
|
D | TransRetainReleaseDealloc.cpp | 85 rec = rec->IgnoreParenImpCasts(); in VisitObjCMessageExpr() 374 Rec = Init->IgnoreParenImpCasts(); in checkForGCDOrXPC() 376 Rec = EWC->getSubExpr()->IgnoreParenImpCasts(); in checkForGCDOrXPC()
|
D | TransGCCalls.cpp | 46 Expr *CEE = E->getCallee()->IgnoreParenImpCasts(); in VisitCallExpr()
|
D | TransProperties.cpp | 292 Expr *lhs = E->getLHS()->IgnoreParenImpCasts(); in VisitBinAssign()
|
/external/clang/lib/AST/ |
D | ExprClassification.cpp | 497 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()
|
D | ParentMap.cpp | 145 } while (S && isa<Expr>(S) && cast<Expr>(S)->IgnoreParenImpCasts() != S); in getParentIgnoreParenImpCasts()
|
D | Expr.cpp | 1186 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()
|
D | NSAPI.cpp | 566 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E->IgnoreParenImpCasts())) in isObjCEnumerator()
|
/external/clang/lib/Sema/ |
D | SemaOpenMP.cpp | 3670 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 …]
|
D | SemaChecking.cpp | 1579 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 …]
|
D | ScopeInfo.cpp | 73 IsExact = isa<CXXThisExpr>(ME->getBase()->IgnoreParenImpCasts()); in getBaseInfo()
|
D | SemaExpr.cpp | 4945 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 …]
|
D | SemaStmt.cpp | 139 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/ |
D | RewriteObjCFoundationAPI.cpp | 45 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/ |
D | CallGraph.cpp | 46 Expr *CEE = CE->getCallee()->IgnoreParenImpCasts(); in getDeclFromCall()
|
D | ReachableCode.cpp | 510 S = Ex->IgnoreParenImpCasts(); in GetUnreachableLoc()
|
/external/v8/tools/clang/rewrite_scoped_refptr/ |
D | RewriteScopedRefptr.cpp | 82 op->getSubExpr()->IgnoreParenImpCasts(); in RewriteImplicitToExplicitConversion()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 683 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/ |
D | CGStmtOpenMP.cpp | 407 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()
|
D | CGOpenMPRuntime.cpp | 3917 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()
|