/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() 588 E = E->IgnoreParenImpCasts(); in stripCastsAndSugar() 590 E = POE->getSyntacticForm()->IgnoreParenImpCasts(); in stripCastsAndSugar() 592 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 | 1043 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()
|
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 | 496 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()
|
D | ParentMap.cpp | 143 } while (S && isa<Expr>(S) && cast<Expr>(S)->IgnoreParenImpCasts() != S); in getParentIgnoreParenImpCasts()
|
D | NSAPI.cpp | 574 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E->IgnoreParenImpCasts())) in isObjCEnumerator()
|
D | Expr.cpp | 1198 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/ |
D | SemaChecking.cpp | 1080 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 …]
|
D | SemaOpenMP.cpp | 2821 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 …]
|
D | ScopeInfo.cpp | 72 IsExact = isa<CXXThisExpr>(ME->getBase()->IgnoreParenImpCasts()); in getBaseInfo()
|
D | SemaExpr.cpp | 4697 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 …]
|
D | SemaStmt.cpp | 138 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()
|
D | AnalysisBasedWarnings.cpp | 181 dyn_cast<DeclRefExpr>(CE->getCallee()->IgnoreParenImpCasts())) { in hasRecursiveCallInPath() 864 if (!alwaysReportSelfInit && DRE == Initializer->IgnoreParenImpCasts()) in DiagnoseUninitializedUse()
|
/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/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/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 590 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/ |
D | CGStmtOpenMP.cpp | 669 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/ |
D | ASTMatchFinder.cpp | 153 StmtToTraverse = ExprNode->IgnoreParenImpCasts(); in TraverseStmt()
|