Home
last modified time | relevance | path

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

123456

/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DIsolateDeclarationCheck.cpp64 Pointee->getReturnType().IgnoreParens().getTypePtr(), ++Indirections); in countIndirections()
71 return countIndirections(AT->getElementType().IgnoreParens().getTypePtr(), in countIndirections()
75 return countIndirections(T->getPointeeType().IgnoreParens().getTypePtr(), in countIndirections()
134 if (typeIsMemberPointer(FirstDecl->getType().IgnoreParens().getTypePtr())) in declRanges()
143 countIndirections(FirstDecl->getType().IgnoreParens().getTypePtr()), SM, in declRanges()
184 if (typeIsMemberPointer(CurrentDecl->getType().IgnoreParens().getTypePtr())) in declRanges()
DConvertMemberFunctionsToStatic.cpp111 const auto FTL = TSI->getTypeLoc().IgnoreParens().getAs<FunctionTypeLoc>(); in getLocationOfConst()
DRedundantStringCStrCheck.cpp50 *Op->getSubExpr()->IgnoreParens(), *Result.Context)); in formatDereference()
DMakeMemberFunctionConstCheck.cpp240 TSI->getTypeLoc().IgnoreParens().getAs<FunctionTypeLoc>(); in getConstInsertionPoint()
/external/clang/lib/Analysis/
DLiveVariables.cpp233 S = Ex->IgnoreParens(); in LookThroughStmt()
306 child = child->IgnoreParens(); in Visit()
338 Expr *LHS = B->getLHS()->IgnoreParens(); in VisitBinaryOperator()
389 else if ((DR = dyn_cast<DeclRefExpr>(cast<Expr>(element)->IgnoreParens()))) { in VisitObjCForCollectionStmt()
412 val.liveStmts = LV.SSetFact.add(val.liveStmts, subEx->IgnoreParens()); in VisitUnaryExprOrTypeTraitExpr()
433 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(UO->getSubExpr()->IgnoreParens())) in VisitUnaryOperator()
522 dyn_cast<DeclRefExpr>(BO->getLHS()->IgnoreParens())) { in computeLiveness()
DCFG.cpp45 E = E->IgnoreParens(); in tryTransformToIntOrEnumConstant()
600 assert(!isa<Expr>(S) || cast<Expr>(S)->IgnoreParens() == S); in appendStmt()
645 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectRelationalOperator()
646 const Expr *RHSExpr = B->getRHS()->IgnoreParens(); in checkIncorrectRelationalOperator()
684 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectEqualityOperator()
685 const Expr *RHSExpr = B->getRHS()->IgnoreParens(); in checkIncorrectEqualityOperator()
701 const Expr *LHSExpr2 = BitOp->getLHS()->IgnoreParens(); in checkIncorrectEqualityOperator()
702 const Expr *RHSExpr2 = BitOp->getRHS()->IgnoreParens(); in checkIncorrectEqualityOperator()
761 dyn_cast<BinaryOperator>(B->getLHS()->IgnoreParens()); in checkIncorrectLogicOperator()
763 dyn_cast<BinaryOperator>(B->getRHS()->IgnoreParens()); in checkIncorrectLogicOperator()
[all …]
DAnalysisDeclContext.cpp186 stmt = e->IgnoreParens(); in registerForcedBlockExpression()
194 stmt = e->IgnoreParens(); in getBlockForRegisteredExpression()
/external/llvm-project/clang/lib/Analysis/
DLiveVariables.cpp191 E = Ex->IgnoreParens(); in LookThroughExpr()
264 child = child->IgnoreParens(); in Visit()
333 Expr *LHS = B->getLHS()->IgnoreParens(); in VisitBinaryOperator()
398 else if ((DR = dyn_cast<DeclRefExpr>(cast<Expr>(element)->IgnoreParens()))) { in VisitObjCForCollectionStmt()
421 val.liveExprs = LV.ESetFact.add(val.liveExprs, subEx->IgnoreParens()); in VisitUnaryExprOrTypeTraitExpr()
442 if (auto *DR = dyn_cast<DeclRefExpr>(UO->getSubExpr()->IgnoreParens())) { in VisitUnaryOperator()
532 dyn_cast<DeclRefExpr>(BO->getLHS()->IgnoreParens())) { in computeLiveness()
DCFG.cpp77 E = E->IgnoreParens(); in IsIntegerLiteralConstantExpr()
100 E = E->IgnoreParens(); in tryTransformToIntOrEnumConstant()
794 assert(!isa<Expr>(S) || cast<Expr>(S)->IgnoreParens() == S); in appendStmt()
921 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectRelationalOperator()
922 const Expr *RHSExpr = B->getRHS()->IgnoreParens(); in checkIncorrectRelationalOperator()
960 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectEqualityOperator()
961 const Expr *RHSExpr = B->getRHS()->IgnoreParens(); in checkIncorrectEqualityOperator()
977 const Expr *LHSExpr2 = BitOp->getLHS()->IgnoreParens(); in checkIncorrectEqualityOperator()
978 const Expr *RHSExpr2 = BitOp->getRHS()->IgnoreParens(); in checkIncorrectEqualityOperator()
1037 dyn_cast<BinaryOperator>(B->getLHS()->IgnoreParens()); in checkIncorrectLogicOperator()
[all …]
DAnalysisDeclContext.cpp185 stmt = e->IgnoreParens(); in registerForcedBlockExpression()
193 stmt = e->IgnoreParens(); in getBlockForRegisteredExpression()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineC.cpp26 Expr *LHS = B->getLHS()->IgnoreParens(); in VisitBinaryOperator()
27 Expr *RHS = B->getRHS()->IgnoreParens(); in VisitBinaryOperator()
705 ValEx = ValEx->IgnoreParens(); in VisitGuardedExpr()
714 if (ValEx == L->IgnoreParens() || ValEx == R->IgnoreParens()) { in VisitGuardedExpr()
813 const Expr *Ex = U->getSubExpr()->IgnoreParens(); in VisitUnaryOperator()
831 const Expr *Ex = U->getSubExpr()->IgnoreParens(); in VisitUnaryOperator()
858 const Expr *Ex = U->getSubExpr()->IgnoreParens(); in VisitUnaryOperator()
870 const Expr *Ex = U->getSubExpr()->IgnoreParens(); in VisitUnaryOperator()
929 const Expr *Ex = U->getSubExpr()->IgnoreParens(); in VisitIncrementDecrementOperator()
DEnvironment.cpp25 E = E->IgnoreParens(); in ignoreTransparentExprs()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DExprEngineC.cpp44 Expr *LHS = B->getLHS()->IgnoreParens(); in VisitBinaryOperator()
45 Expr *RHS = B->getRHS()->IgnoreParens(); in VisitBinaryOperator()
834 ValEx = ValEx->IgnoreParens(); in VisitGuardedExpr()
843 if (ValEx == L->IgnoreParens() || ValEx == R->IgnoreParens()) { in VisitGuardedExpr()
931 const Expr *Ex = U->getSubExpr()->IgnoreParens(); in handleUOExtension()
958 const Expr *Ex = U->getSubExpr()->IgnoreParens(); in VisitUnaryOperator()
976 const Expr *Ex = U->getSubExpr()->IgnoreParens(); in VisitUnaryOperator()
992 const Expr *Ex = U->getSubExpr()->IgnoreParens(); in VisitUnaryOperator()
1022 const Expr *Ex = U->getSubExpr()->IgnoreParens(); in VisitUnaryOperator()
1080 const Expr *Ex = U->getSubExpr()->IgnoreParens(); in VisitIncrementDecrementOperator()
DEnvironment.cpp39 E = E->IgnoreParens(); in ignoreTransparentExprs()
/external/llvm-project/clang/lib/ARCMigrate/
DTransZeroOutPropsInDealloc.cpp150 E = E->IgnoreParens(); in isZeroingPropIvar()
196 dyn_cast<ObjCPropertyRefExpr>(BO->getLHS()->IgnoreParens()); in isZeroingPropIvar()
/external/clang/lib/ARCMigrate/
DTransZeroOutPropsInDealloc.cpp153 E = E->IgnoreParens(); in isZeroingPropIvar()
199 dyn_cast<ObjCPropertyRefExpr>(BO->getLHS()->IgnoreParens()); in isZeroingPropIvar()
/external/clang/lib/AST/
DExpr.cpp59 E = E->IgnoreParens(); in skipRValueSubobjectAdjustments()
113 const Expr *E = IgnoreParens(); in isKnownToHaveBooleanValue()
1280 if (isa<CXXPseudoDestructorExpr>(Callee->IgnoreParens())) in getCallReturnType()
1381 E = E->IgnoreParens(); in UnaryExprOrTypeTraitExpr()
1829 Init = Init->IgnoreParens(); in isStringLiteralInit()
1966 dyn_cast<IntegerLiteral>(BO->getRHS()->IgnoreParens())) in isUnusedResultAWarning()
2166 dyn_cast<DeclRefExpr>(CE->getSubExpr()->IgnoreParens()); in isUnusedResultAWarning()
2227 const Expr *E = IgnoreParens(); in isOBJCGCCandidate()
2278 expr = expr->IgnoreParens(); in findBoundMemberType()
2295 Expr* Expr::IgnoreParens() { in IgnoreParens() function in Expr
[all …]
DExprClassification.cpp233 const Expr *Op = cast<UnaryOperator>(E)->getSubExpr()->IgnoreParens(); in ClassifyInternal()
471 Expr *Base = E->getBase()->IgnoreParens(); in ClassifyMemberExpr()
590 dyn_cast<ExplicitCastExpr>(E->IgnoreParens())) { in IsModifiable()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DCheckSizeofPointer.cpp61 if (!isa<DeclRefExpr>(ArgEx->IgnoreParens())) in VisitUnaryExprOrTypeTraitExpr()
/external/clang/lib/StaticAnalyzer/Checkers/
DCheckSizeofPointer.cpp62 if (!isa<DeclRefExpr>(ArgEx->IgnoreParens())) in VisitUnaryExprOrTypeTraitExpr()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseNoexceptCheck.cpp75 .IgnoreParens() in check()
/external/llvm-project/clang/lib/AST/
DExpr.cpp84 E = E->IgnoreParens(); in skipRValueSubobjectAdjustments()
134 const Expr *E = IgnoreParens(); in isKnownToHaveBooleanValue()
1390 if (isa<CXXPseudoDestructorExpr>(Callee->IgnoreParens())) in getCallReturnType()
2157 Init = Init->IgnoreParens(); in isStringLiteralInit()
2263 const Expr *E = IgnoreParens(); in isReadIfDiscardedInCPlusPlus11()
2390 dyn_cast<IntegerLiteral>(BO->getRHS()->IgnoreParens())) in isUnusedResultAWarning()
2607 const Expr *SubE = CE->getSubExpr()->IgnoreParens(); in isUnusedResultAWarning()
2686 const Expr *E = IgnoreParens(); in isOBJCGCCandidate()
2737 expr = expr->IgnoreParens(); in findBoundMemberType()
2770 Expr *Expr::IgnoreParens() { in IgnoreParens() function in Expr
[all …]
DExprClassification.cpp258 const Expr *Op = cast<UnaryOperator>(E)->getSubExpr()->IgnoreParens(); in ClassifyInternal()
504 Expr *Base = E->getBase()->IgnoreParens(); in ClassifyMemberExpr()
622 if (const auto *CE = dyn_cast<ExplicitCastExpr>(E->IgnoreParens())) { in IsModifiable()
/external/clang/lib/Sema/
DSemaPseudoObject.cpp708 refE = dyn_cast<ObjCPropertyRefExpr>(syntacticBase->IgnoreParens())) in rebuildAndCaptureObject()
1439 Expr *Base = E->getBase()->IgnoreParens(); in getBaseMSProperty()
1442 Base = MSPropSubscript->getBase()->IgnoreParens(); in getBaseMSProperty()
1529 Expr *opaqueRef = E->IgnoreParens(); in checkPseudoObjectRValue()
1561 Expr *opaqueRef = op->IgnoreParens(); in checkPseudoObjectIncDec()
1597 Expr *opaqueRef = LHS->IgnoreParens(); in checkPseudoObjectAssignment()
/external/llvm-project/clang/lib/Sema/
DSemaPseudoObject.cpp713 refE = dyn_cast<ObjCPropertyRefExpr>(syntacticBase->IgnoreParens())) in rebuildAndCaptureObject()
1439 Expr *Base = E->getBase()->IgnoreParens(); in getBaseMSProperty()
1442 Base = MSPropSubscript->getBase()->IgnoreParens(); in getBaseMSProperty()
1528 Expr *opaqueRef = E->IgnoreParens(); in checkPseudoObjectRValue()
1561 Expr *opaqueRef = op->IgnoreParens(); in checkPseudoObjectIncDec()
1599 Expr *opaqueRef = LHS->IgnoreParens(); in checkPseudoObjectAssignment()

123456