reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/include/clang/AST/Expr.h
  810   Expr *IgnoreParenImpCasts() LLVM_READONLY;

References

tools/clang/include/clang/AST/Expr.h
  812     return const_cast<Expr *>(this)->IgnoreParenImpCasts();
tools/clang/include/clang/ASTMatchers/ASTMatchers.h
 3017                             ->IgnoreParenImpCasts();
tools/clang/lib/ARCMigrate/TransGCCalls.cpp
   45     Expr *CEE = E->getCallee()->IgnoreParenImpCasts();
tools/clang/lib/ARCMigrate/TransProperties.cpp
  291       Expr *lhs = E->getLHS()->IgnoreParenImpCasts();
tools/clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp
   86           rec = rec->IgnoreParenImpCasts();
  378     Rec = Init->IgnoreParenImpCasts();
  380       Rec = FE->getSubExpr()->IgnoreParenImpCasts();
tools/clang/lib/ARCMigrate/TransUnbridgedCasts.cpp
  181     Expr *base = inner->IgnoreParenImpCasts();
  183       base = cast<MemberExpr>(base)->getBase()->IgnoreParenImpCasts();
  285     SourceRange SubRange = E->getSubExpr()->IgnoreParenImpCasts()->getSourceRange();
  435           if (arg == E || arg->IgnoreParenImpCasts() == E)
tools/clang/lib/AST/Expr.cpp
 1441   Expr *CEE = IgnoreParenImpCasts();
 4008         E1 = ME1->getBase()->IgnoreParenImpCasts();
 4009         E2 = ME2->getBase()->IgnoreParenImpCasts();
tools/clang/lib/AST/ExprClassification.cpp
  520     Expr *Base = E->getBase()->IgnoreParenImpCasts();
tools/clang/lib/AST/ItaniumMangle.cpp
 4562     const Expr *E = A.getAsExpr()->IgnoreParenImpCasts();
tools/clang/lib/AST/ParentMap.cpp
  157   } while (S && isa<Expr>(S) && cast<Expr>(S)->IgnoreParenImpCasts() != S);
tools/clang/lib/AST/Stmt.cpp
 1066   if (auto *E = dyn_cast<AddrLabelExpr>(getTarget()->IgnoreParenImpCasts()))
tools/clang/lib/ASTMatchers/ASTMatchFinder.cpp
  149         StmtToTraverse = ExprNode->IgnoreParenImpCasts();
tools/clang/lib/Analysis/CFG.cpp
 1145         tryTransformToIntOrEnumConstant(B->getLHS()->IgnoreParenImpCasts());
 1147         tryTransformToIntOrEnumConstant(B->getRHS()->IgnoreParenImpCasts());
tools/clang/lib/Analysis/CallGraph.cpp
   60     Expr *CEE = CE->getCallee()->IgnoreParenImpCasts();
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
10740                     cast<DeclRefExpr>((*SI)->IgnoreParenImpCasts())) {
11121       cast<DeclRefExpr>(TopMostAttr->getVariantFuncRef()->IgnoreParenImpCasts())
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
 2652     const Expr *SubExpr = ICE->IgnoreParenImpCasts();
 3434       const Expr *SubExpr = ICE->IgnoreParenImpCasts();
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp
 2863       const Expr *SubExpr = ICE->IgnoreParenImpCasts();
tools/clang/lib/Sema/ScopeInfo.cpp
   82     IsExact = isa<CXXThisExpr>(ME->getBase()->IgnoreParenImpCasts());
tools/clang/lib/Sema/SemaCast.cpp
 1894   Expr *Src = SrcExpr.get()->IgnoreParenImpCasts();
 1897       Src = UO->getSubExpr()->IgnoreParenImpCasts();
tools/clang/lib/Sema/SemaChecking.cpp
 1377     const Expr *PtrArg = TheCall->getArg(0)->IgnoreParenImpCasts();
 3372   if (!isa<StringLiteral>(Arg->IgnoreParenImpCasts()))
 3378       cast<StringLiteral>(Arg->IgnoreParenImpCasts())->getString();
 3392   if (!isa<StringLiteral>(Arg->IgnoreParenImpCasts()))
 3398       cast<StringLiteral>(Arg->IgnoreParenImpCasts())->getString();
 6030             dyn_cast<UnaryExprOrTypeTraitExpr>(Arg->IgnoreParenImpCasts()))
 6522   if (!isa<StringLiteral>(Arg->IgnoreParenImpCasts()))
 6527   StringRef Reg = cast<StringLiteral>(Arg->IgnoreParenImpCasts())->getString();
10012   Expr* LeftExprSansParen = LHS->IgnoreParenImpCasts();
10013   Expr* RightExprSansParen = RHS->IgnoreParenImpCasts();
10482       dyn_cast<DeclRefExpr>(E->IgnoreParenImpCasts()))
10503           !E->IgnoreParenImpCasts()->getType()->isSignedIntegerType());
10666   Constant = Constant->IgnoreParenImpCasts();
10667   Other = Other->IgnoreParenImpCasts();
10731                Constant->IgnoreParenImpCasts())) {
10830   LHS = LHS->IgnoreParenImpCasts();
10831   RHS = RHS->IgnoreParenImpCasts();
10838       LHS = TET->getUnderlyingExpr()->IgnoreParenImpCasts();
10840       RHS = TET->getUnderlyingExpr()->IgnoreParenImpCasts();
10932   Expr *OriginalInit = Init->IgnoreParenImpCasts();
11040       return AnalyzeImplicitConversions(S, E->getRHS()->IgnoreParenImpCasts(),
11100   Expr *InnerE = E->IgnoreParenImpCasts();
11104       InnerE = UOp->getSubExpr()->IgnoreParenImpCasts();
11262   Expr *InnerE = Ex->IgnoreParenImpCasts();
11291       DiagnoseImpCast(S, CurrA->IgnoreParenImpCasts(),
11448   if (auto *IntLit = dyn_cast<IntegerLiteral>(E->IgnoreParenImpCasts())) {
11481   QualType LHSStrippedType = LHS->IgnoreParenImpCasts()->getType();
11482   QualType RHSStrippedType = RHS->IgnoreParenImpCasts()->getType();
11506   E = E->IgnoreParenImpCasts();
11706         Expr *InnerE = LastA->IgnoreParenImpCasts();
11979   E = E->IgnoreParenImpCasts();
12015   CheckImplicitConversion(S, E->getTrueExpr()->IgnoreParenImpCasts(),
12018     CheckImplicitConversion(S, E->getFalseExpr()->IgnoreParenImpCasts(),
12027   if (E->IgnoreParenImpCasts()->getType()->isAtomicType())
12029   CheckImplicitConversion(S, E->IgnoreParenImpCasts(), S.Context.BoolTy, CC);
12038   Expr *E = OrigE->IgnoreParenImpCasts();
12087     E = CE->getSubExpr()->IgnoreParenImpCasts();
12125         isa<StringLiteral>(ChildExpr->IgnoreParenImpCasts()))
12133     Expr *SubExpr = BO->getLHS()->IgnoreParenImpCasts();
12137     SubExpr = BO->getRHS()->IgnoreParenImpCasts();
12279   if (auto *Call = dyn_cast<CallExpr>(E->IgnoreParenImpCasts())) {
13892   RHS = RHS->IgnoreParenImpCasts();
14710   const Expr *TopBase = TopME->getBase()->IgnoreParenImpCasts();
tools/clang/lib/Sema/SemaConcept.cpp
   26   ConstraintExpression = ConstraintExpression->IgnoreParenImpCasts();
   54   ConstraintExpr = ConstraintExpr->IgnoreParenImpCasts();
tools/clang/lib/Sema/SemaDecl.cpp
 7399   E = E->IgnoreParenImpCasts();
10833         Base = ME->getBase()->IgnoreParenImpCasts();
10913         Expr *Base = E->IgnoreParenImpCasts();
10918           Base = ME->getBase()->IgnoreParenImpCasts();
10957       Expr *Base = E->getBase()->IgnoreParenImpCasts();
10961         Base = ME->getBase()->IgnoreParenImpCasts();
10983         HandleValue(Arg->IgnoreParenImpCasts());
tools/clang/lib/Sema/SemaDeclCXX.cpp
 3494         ME = dyn_cast<MemberExpr>(ME->getBase()->IgnoreParenImpCasts());
 3536                  dyn_cast<MemberExpr>(Base->IgnoreParenImpCasts())) {
 3551       if (!isa<CXXThisExpr>(Base->IgnoreParenImpCasts()))
 3747         HandleValue(Arg->IgnoreParenImpCasts(), false /*AddressOf*/);
tools/clang/lib/Sema/SemaExpr.cpp
 4427     StrippedExpr = Member->getBase()->IgnoreParenImpCasts();
 4773   if (LHSExp->IgnoreParenImpCasts()->getType()->isVariablyModifiedType() &&
 4776             LHSExp->IgnoreParenImpCasts()->getType()->getAs<TypedefType>()) {
 4794               Context, LHSExp->IgnoreParenImpCasts()->getType(), CSI);
 6856     NullExpr = NullExpr->IgnoreParenImpCasts();
 7682   E = E->IgnoreParenImpCasts();
 9176   bool LHSNull = isa<GNUNullExpr>(LHS.get()->IgnoreParenImpCasts());
 9177   bool RHSNull = isa<GNUNullExpr>(RHS.get()->IgnoreParenImpCasts());
10024   QualType LHSStrippedType = LHS->IgnoreParenImpCasts()->getType();
10025   QualType RHSStrippedType = RHS->IgnoreParenImpCasts()->getType();
10104   switch (E.get()->IgnoreParenImpCasts()->getStmtClass()) {
10163   FromE = FromE->IgnoreParenImpCasts();
10313   Expr *LHSStripped = LHS->IgnoreParenImpCasts();
10314   Expr *RHSStripped = RHS->IgnoreParenImpCasts();
10510   ExprResult LHSStripped = LHS.get()->IgnoreParenImpCasts();
10511   ExprResult RHSStripped = RHS.get()->IgnoreParenImpCasts();
11446       ME->getBase()->IgnoreImplicit()->IgnoreParenImpCasts());
12652   LHSExpr = LHSExpr->IgnoreParenImpCasts();
12653   RHSExpr = RHSExpr->IgnoreParenImpCasts();
14596   Expr *SrcExpr = Exp->IgnoreParenImpCasts();
14599       SrcExpr = OV->getSourceExpr()->IgnoreParenImpCasts();
15144   if (auto *BO = dyn_cast<BinaryOperator>(E->IgnoreParenImpCasts())) {
17254         opE->getLHS()->IgnoreParenImpCasts()->isModifiableLvalue(Context)
17816     E = E->IgnoreParenImpCasts();
17927     auto *DRE = dyn_cast<DeclRefExpr>(E->IgnoreParenImpCasts());
tools/clang/lib/Sema/SemaExprCXX.cpp
 5781     bool LThrow = isa<CXXThrowExpr>(LHS.get()->IgnoreParenImpCasts());
 5782     bool RThrow = isa<CXXThrowExpr>(RHS.get()->IgnoreParenImpCasts());
tools/clang/lib/Sema/SemaExprMember.cpp
 1437       Expr *BaseExp = BaseExpr.get()->IgnoreParenImpCasts();
 1816       isa<CXXThisExpr>(Base.get()->IgnoreParenImpCasts())) {
tools/clang/lib/Sema/SemaExprObjC.cpp
 2407       dyn_cast<ObjCStringLiteral>(FormatExpr->IgnoreParenImpCasts())) {
tools/clang/lib/Sema/SemaOpenMP.cpp
 2512   const Expr *AE = Allocator->IgnoreParenImpCasts();
 2541     const Expr *AE = Allocator->IgnoreParenImpCasts();
 2542     const Expr *PAE = PrevAllocator->IgnoreParenImpCasts();
 4091       Expr *Base = ASE->getBase()->IgnoreParenImpCasts();
 4093         Base = TempASE->getBase()->IgnoreParenImpCasts();
 4097       Expr *Base = OASE->getBase()->IgnoreParenImpCasts();
 4099         Base = TempOASE->getBase()->IgnoreParenImpCasts();
 4101         Base = TempASE->getBase()->IgnoreParenImpCasts();
 4108   RefExpr = RefExpr->IgnoreParenImpCasts();
 4113        !isa<CXXThisExpr>(ME->getBase()->IgnoreParenImpCasts()) ||
 5075       !ER.get()->IgnoreParenImpCasts()->getType()->isFunctionType()) {
 5082   auto *DRE = dyn_cast<DeclRefExpr>(ER.get()->IgnoreParenImpCasts());
 5207       auto *DRE = dyn_cast<DeclRefExpr>(VariantRef->IgnoreParenImpCasts());
 5448         NewLB = CE->getArg(0)->IgnoreParenImpCasts();
 5674             isa<CXXThisExpr>(ME->getBase()->IgnoreParenImpCasts()))
 5709             isa<CXXThisExpr>(ME->getBase()->IgnoreParenImpCasts()))
 5742     if (ME->isArrow() && isa<CXXThisExpr>(ME->getBase()->IgnoreParenImpCasts()))
 5823   RHS = RHS->IgnoreParenImpCasts();
 8268             AtomicBinOp->getRHS()->IgnoreParenImpCasts())) {
 8277         X->IgnoreParenImpCasts()->Profile(XId, SemaRef.getASTContext(),
 8279         LHS->IgnoreParenImpCasts()->Profile(LHSId, SemaRef.getASTContext(),
 8281         RHS->IgnoreParenImpCasts()->Profile(RHSId, SemaRef.getASTContext(),
 8339     AtomicBody = AtomicBody->IgnoreParenImpCasts();
 8343               AtomicBody->IgnoreParenImpCasts())) {
 8352                      AtomicBody->IgnoreParenImpCasts())) {
 8357                      AtomicBody->IgnoreParenImpCasts())) {
 8496         X = AtomicBinOp->getRHS()->IgnoreParenImpCasts();
 8497         V = AtomicBinOp->getLHS()->IgnoreParenImpCasts();
 8650         Body = AtomicBinOp->getRHS()->IgnoreParenImpCasts();
 8701             First = EWC->getSubExpr()->IgnoreParenImpCasts();
 8703             Second = EWC->getSubExpr()->IgnoreParenImpCasts();
 8721             Expr *PossibleX = BinOp->getRHS()->IgnoreParenImpCasts();
 8751               Expr *PossibleX = BinOp->getRHS()->IgnoreParenImpCasts();
 8793                       FirstBinOp->getRHS()->IgnoreParenImpCasts();
 8795                       SecondBinOp->getLHS()->IgnoreParenImpCasts();
12704     if (isa<CXXThisExpr>(E->getBase()->IgnoreParenImpCasts()) &&
14393         LHS = BO->getLHS()->IgnoreParenImpCasts();
14394         RHS = BO->getRHS()->IgnoreParenImpCasts();
14398         LHS = OCE->getArg(/*Arg=*/0)->IgnoreParenImpCasts();
14399         RHS = OCE->getArg(/*Arg=*/1)->IgnoreParenImpCasts();
14406         LHS = MCE->getImplicitObjectArgument()->IgnoreParenImpCasts();
14407         RHS = MCE->getArg(/*Arg=*/0)->IgnoreParenImpCasts();
14445       if (!RefExpr->IgnoreParenImpCasts()->isLValue() ||
14458                                    RefExpr->IgnoreParenImpCasts());
14466     Vars.push_back(RefExpr->IgnoreParenImpCasts());
14674     E = E->IgnoreParenImpCasts();
14690       Expr *BaseE = CurE->getBase()->IgnoreParenImpCasts();
14756       E = CurE->getBase()->IgnoreParenImpCasts();
14791       E = CurE->getBase()->IgnoreParenImpCasts();
15323     if (!RE->IgnoreParenImpCasts()->isLValue()) {
tools/clang/lib/Sema/SemaPseudoObject.cpp
 1070     const Expr *IndexExpr = FromE->IgnoreParenImpCasts();
tools/clang/lib/Sema/SemaStmt.cpp
  148     CanAssign = Op->getLHS()->IgnoreParenImpCasts()->isLValue();
 1485       E = E->IgnoreParenImpCasts();
tools/clang/lib/Sema/SemaTemplate.cpp
 3074   if (auto BinOp = dyn_cast<BinaryOperator>(Clause->IgnoreParenImpCasts())) {
 3091   auto *BinOp = dyn_cast<BinaryOperator>(Cond->IgnoreParenImpCasts());
 3098   auto *InnerBinOp = dyn_cast<BinaryOperator>(LHS->IgnoreParenImpCasts());
 3163     Expr *TermAsWritten = Term->IgnoreParenImpCasts();
 3183     FailedCond = Cond->IgnoreParenImpCasts();
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
  281     if (auto *DRE = dyn_cast<DeclRefExpr>(E->IgnoreParenImpCasts()))
  362     if (auto *DRE = dyn_cast<DeclRefExpr>(E->IgnoreParenImpCasts()))
tools/clang/lib/StaticAnalyzer/Checkers/CStringSyntaxChecker.cpp
  190         DstArgDRE = dyn_cast<DeclRefExpr>(BE->getLHS()->IgnoreParenImpCasts());
  192           if ((IL = dyn_cast<IntegerLiteral>(BE->getRHS()->IgnoreParenImpCasts()))) {
tools/clang/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp
  615     E = OVE->getSourceExpr()->IgnoreParenImpCasts();
tools/clang/lib/StaticAnalyzer/Checkers/IdenticalExprChecker.cpp
  222   const Expr *LHS = B->getLHS()->IgnoreParenImpCasts();
  223   const Expr *RHS = B->getRHS()->IgnoreParenImpCasts();
tools/clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp
 1267           BO->getRHS()->IgnoreParenImpCasts())) {
 1370   const Expr *Condition = C->getCond()->IgnoreParenImpCasts();
tools/clang/lib/StaticAnalyzer/Checkers/MallocOverflowSecurityChecker.cpp
  192           const Expr *denom = BOp->getRHS()->IgnoreParenImpCasts();
  198           const Expr *numerator = BOp->getLHS()->IgnoreParenImpCasts();
tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp
  189     const Expr *This = ME->getBase()->IgnoreParenImpCasts();
tools/clang/lib/Tooling/Transformer/SourceCodeBuilders.cpp
   79           getText(*Op->getSubExpr()->IgnoreParenImpCasts(), Context);
  100           getText(*Op->getSubExpr()->IgnoreParenImpCasts(), Context);
  120       const Expr *SubExpr = Op->getSubExpr()->IgnoreParenImpCasts();
  144       const Expr *SubExpr = Op->getSubExpr()->IgnoreParenImpCasts();
tools/clang/tools/extra/clang-tidy/abseil/DurationAdditionCheck.cpp
   49   if (Call == Binop->getLHS()->IgnoreParenImpCasts()) {
   57     assert(Call == Binop->getRHS()->IgnoreParenImpCasts() &&
tools/clang/tools/extra/clang-tidy/bugprone/StringIntegerAssignmentCheck.cpp
   58       const auto *LHS = BinOp->getLHS()->IgnoreParenImpCasts();
   59       const auto *RHS = BinOp->getRHS()->IgnoreParenImpCasts();
   74                  CondOp->getFalseExpr()->IgnoreParenImpCasts()) ||
   76                  CondOp->getTrueExpr()->IgnoreParenImpCasts());
tools/clang/tools/extra/clang-tidy/bugprone/TooSmallLoopVariableCheck.cpp
  116     const Expr *RHSE = BinOperator->getRHS()->IgnoreParenImpCasts();
  117     const Expr *LHSE = BinOperator->getLHS()->IgnoreParenImpCasts();
tools/clang/tools/extra/clang-tidy/modernize/LoopConvertCheck.cpp
  385     return isa<CXXThisExpr>(Member->getBase()->IgnoreParenImpCasts());
tools/clang/tools/extra/clang-tidy/modernize/LoopConvertUtils.cpp
  601       dyn_cast<MemberExpr>(MemberCall->getCallee()->IgnoreParenImpCasts());
  695        !areSameExpr(Context, Arr->IgnoreParenImpCasts(),
tools/clang/tools/extra/clang-tidy/readability/SimplifyBooleanExprCheck.cpp
  360   const auto *LHS = Op->getLHS()->IgnoreParenImpCasts();
  361   const auto *RHS = Op->getRHS()->IgnoreParenImpCasts();