Home
last modified time | relevance | path

Searched refs:IgnoreParens (Results 1 – 25 of 46) sorted by relevance

12

/external/clang/lib/StaticAnalyzer/Checkers/
DCheckSecuritySyntaxOnly.cpp275 = dyn_cast<FunctionProtoType>(FD->getType().IgnoreParens()); in checkCall_gets()
307 = dyn_cast<FunctionProtoType>(FD->getType().IgnoreParens()); in checkCall_getpw()
343 = dyn_cast<FunctionProtoType>(FD->getType().IgnoreParens()); in checkCall_mktemp()
418 = dyn_cast<FunctionProtoType>(FD->getType().IgnoreParens()); in checkCall_strCommon()
453 = dyn_cast<FunctionProtoType>(FD->getType().IgnoreParens()); in checkCall_rand()
495 = dyn_cast<FunctionProtoType>(FD->getType().IgnoreParens()); in checkCall_random()
543 = dyn_cast<FunctionProtoType>(FD->getType().IgnoreParens()); in checkUncheckedReturnValue()
DCheckSizeofPointer.cpp58 if (!isa<DeclRefExpr>(ArgEx->IgnoreParens())) in VisitUnaryExprOrTypeTraitExpr()
DDereferenceChecker.cpp130 AddDerefSource(os, Ranges, U->getSubExpr()->IgnoreParens(), true); in checkLocation()
DCallAndMessageChecker.cpp193 const Expr *Callee = CE->getCallee()->IgnoreParens(); in checkPreStmt()
/external/clang/lib/Analysis/
DLiveVariables.cpp217 Expr* ElemExpr = cast<Expr>(Element)->IgnoreParens(); in BlockStmt_VisitObjCForCollectionStmt()
244 if (DeclRefExpr* DR = dyn_cast<DeclRefExpr>(E->IgnoreParens())) in VisitUnaryOperator()
263 if (DeclRefExpr* DR = dyn_cast<DeclRefExpr>(LHS->IgnoreParens())) { in VisitAssign()
DAnalysisContext.cpp82 stmt = e->IgnoreParens(); in registerForcedBlockExpression()
90 stmt = e->IgnoreParens(); in getBlockForRegisteredExpression()
DUninitializedValues.cpp466 cast<DeclRefExpr>(lastLoad->getSubExpr()->IgnoreParens()); in VisitDeclStmt()
571 DeclRefExpr *DR = cast<DeclRefExpr>(lastLoad->getSubExpr()->IgnoreParens()); in ProcessUses()
DCFG.cpp401 assert(!isa<Expr>(S) || cast<Expr>(S)->IgnoreParens() == S); in appendStmt()
854 S = E->IgnoreParens(); in Visit()
3059 assert((Exp->IgnoreParens() == Exp) && "No parens on block-level exps"); in PopulateBlkExprMap()
3074 Last = LastEx->IgnoreParens(); in PopulateBlkExprMap()
3671 return E ? E->IgnoreParens() : NULL; in getTerminatorCondition()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngine.cpp433 S = Ex->IgnoreParens(); in Visit()
1338 const Expr* Base = A->getBase()->IgnoreParens(); in VisitLvalArraySubscriptExpr()
1339 const Expr* Idx = A->getIdx()->IgnoreParens(); in VisitLvalArraySubscriptExpr()
1365 Expr *baseExpr = M->getBase()->IgnoreParens(); in VisitMemberExpr()
1636 cast<MemberExpr>(memberCall->getCallee()->IgnoreParens()); in InlineCall()
1684 QualType FnType = CE->getCallee()->IgnoreParens()->getType(); in VisitCallExpr()
1735 const Expr* Callee = CE->getCallee()->IgnoreParens(); in VisitCallExpr()
2290 = cast<InitListExpr>(CL->getInitializer()->IgnoreParens()); in VisitCompoundLiteralExpr()
2548 const Expr* Ex = U->getSubExpr()->IgnoreParens(); in VisitUnaryOperator()
2572 const Expr* Ex = U->getSubExpr()->IgnoreParens(); in VisitUnaryOperator()
[all …]
DEnvironment.cpp43 E = Ex->IgnoreParens(); in getSVal()
DCXXExprEngine.cpp84 callee = callExpr->getCallee()->IgnoreParens(); in evalCallee()
/external/clang/lib/AST/
DExprClassification.cpp210 const Expr *Op = cast<UnaryOperator>(E)->getSubExpr()->IgnoreParens(); in ClassifyInternal()
420 Expr *Base = E->getBase()->IgnoreParens(); in ClassifyMemberExpr()
526 dyn_cast<ExplicitCastExpr>(E->IgnoreParens())) { in IsModifiable()
DExpr.cpp39 const Expr *E = IgnoreParens(); in isKnownToHaveBooleanValue()
1473 dyn_cast<IntegerLiteral>(BO->getRHS()->IgnoreParens())) in isUnusedResultAWarning()
1654 const Expr *E = IgnoreParens(); in isOBJCGCCandidate()
1704 expr = expr->IgnoreParens(); in findBoundMemberType()
1848 else if (isa<CXXPseudoDestructorExpr>(CE->getCallee()->IgnoreParens())) in CanThrow()
1974 Expr* Expr::IgnoreParens() { in IgnoreParens() function in Expr
2190 return E->IgnoreParens(); in skipTemporaryBindingsNoOpCastsAndParens()
2512 Expr *E = this->IgnoreParens(); in getBitField()
2517 E = ICE->getSubExpr()->IgnoreParens(); in getBitField()
2544 const Expr *E = this->IgnoreParens(); in refersToVectorElement()
[all …]
DExprCXX.cpp422 dyn_cast<MemberExpr>(getCallee()->IgnoreParens())) in getImplicitObjectArgument()
431 dyn_cast<MemberExpr>(getCallee()->IgnoreParens())) in getMethodDecl()
DDeclPrinter.cpp485 Init = Init->IgnoreParens(); in VisitFunctionDecl()
/external/clang/lib/CodeGen/
DCGExprCXX.cpp61 E = E->IgnoreParens(); in getMostDerivedClassDecl()
171 const Expr *callee = CE->getCallee()->IgnoreParens(); in EmitCXXMemberCallExpr()
286 cast<BinaryOperator>(E->getCallee()->IgnoreParens()); in EmitCXXMemberPointerCallExpr()
1465 if (const UnaryOperator *UO = dyn_cast<UnaryOperator>(E->IgnoreParens())) { in EmitTypeidFromVTable()
DCGExprAgg.cpp560 E = E->IgnoreParens(); in isSimpleZero()
916 E = E->IgnoreParens(); in GetNumNonZeroBytesInInit()
DCodeGenFunction.cpp513 Cond = Cond->IgnoreParens(); in EmitBranchOnBoolExpr()
/external/clang/lib/Sema/
DSemaChecking.cpp961 E = E->IgnoreParens(); in SemaCheckStringLiteral()
2090 E = E->IgnoreParens(); in EvalAddr()
2235 E = E->IgnoreParens(); in EvalVal()
2525 E = E->IgnoreParens(); in GetExprRange()
3535 expr = expr->IgnoreParens(); in CheckArrayAccess()
3587 e = e->IgnoreParens(); in findRetainCycleOwner()
DSemaTemplateInstantiateDecl.cpp1091 if (isa<FunctionProtoType>(Function->getType().IgnoreParens())) { in VisitFunctionDecl()
1351 if (!isa<FunctionProtoType>(T.IgnoreParens())) { in VisitCXXMethodDecl()
2092 TypeLoc OldTL = OldTInfo->getTypeLoc().IgnoreParens(); in SubstFunctionType()
2095 TypeLoc NewTL = NewTInfo->getTypeLoc().IgnoreParens(); in SubstFunctionType()
2132 TypeLoc OldTL = OldTInfo->getTypeLoc().IgnoreParens(); in SubstFunctionType()
DSemaExpr.cpp941 ControllingExpr = ControllingExpr->IgnoreParens(); in CreateGenericSelectionExpr()
961 ControllingExpr = ControllingExpr->IgnoreParens(); in CreateGenericSelectionExpr()
2711 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(Op->IgnoreParens())) { in CheckUnaryExprOrTypeTraitOperand()
2777 E = E->IgnoreParens(); in CheckAlignOfExpr()
2803 E = E->IgnoreParens(); in CheckVecStepExpr()
3322 if (isa<ExplicitCastExpr>(Args[i]->IgnoreParens())) in GatherArgumentsForCall()
3438 Expr *NakedFn = Fn->IgnoreParens(); in ActOnCallExpr()
3443 NakedFn = UnOp->getSubExpr()->IgnoreParens(); in ActOnCallExpr()
6479 if (DeclRefExpr* DRL = dyn_cast<DeclRefExpr>(lex.get()->IgnoreParens())) in CheckVectorCompareOperands()
6480 if (DeclRefExpr* DRR = dyn_cast<DeclRefExpr>(rex.get()->IgnoreParens())) in CheckVectorCompareOperands()
[all …]
DSemaExceptionSpec.cpp232 TypeLoc TL = TSInfo->getTypeLoc().IgnoreParens(); in CheckEquivalentExceptionSpec()
DSemaOverload.cpp1093 assert(isa<UnaryOperator>(From->IgnoreParens()) && in IsStandardConversion()
1095 assert(cast<UnaryOperator>(From->IgnoreParens())->getOpcode() in IsStandardConversion()
1101 } else if (isa<UnaryOperator>(From->IgnoreParens())) { in IsStandardConversion()
1102 assert(cast<UnaryOperator>(From->IgnoreParens())->getOpcode() == in IsStandardConversion()
6840 Expr *E = FromExpr->IgnoreParens(); in DiagnoseBadConversion()
6842 E = cast<UnaryOperator>(E)->getSubExpr()->IgnoreParens(); in DiagnoseBadConversion()
9094 Expr *NakedMemExpr = MemExprE->IgnoreParens(); in BuildCallToMemberFunction()
9251 MemExpr = cast<MemberExpr>(MemExprE->IgnoreParens()); in BuildCallToMemberFunction()
DSemaExprCXX.cpp497 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Ex->IgnoreParens())) in ActOnCXXThrow()
2023 if (StringLiteral *StrLit = dyn_cast<StringLiteral>(From->IgnoreParens())) in IsStringLiteralToNonConstPointerConversion()
3324 if (isa<CXXScalarValueInitExpr>(rex.get()->IgnoreParens())) { in CheckPointerToMemberOperands()
4016 Expr *Callee = Call->getCallee()->IgnoreParens(); in MaybeBindToTemporary()
/external/clang/include/clang/AST/
DType.h764 QualType IgnoreParens() const {
766 return QualType::IgnoreParens(*this);
877 static QualType IgnoreParens(QualType T);

12