Home
last modified time | relevance | path

Searched refs:IgnoreImpCasts (Results 1 – 22 of 22) sorted by relevance

/external/clang/lib/StaticAnalyzer/Checkers/
DVirtualCallChecker.cpp149 if (Expr *base = CME->getBase()->IgnoreImpCasts()) { in VisitCXXMemberCallExpr()
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp890 const Expr* Expr = FullExpr->IgnoreImpCasts(); in subscriptOperatorNeedsParens()
912 const Expr* Expr = FullExpr->IgnoreImpCasts(); in castOperatorNeedsParens()
990 const Expr *OrigArg = Arg->IgnoreImpCasts(); in rewriteToNumericBoxedExpression()
1117 const Expr *OrigArg = Arg->IgnoreImpCasts(); in doRewriteToUTF8StringBoxedExpressionHelper()
/external/clang/lib/Sema/
DSemaFixItUtils.cpp66 const Expr* Expr = FullExpr->IgnoreImpCasts(); in tryToFixConversion()
DSemaTemplateVariadic.cpp939 E = E->IgnoreImpCasts(); in CheckFoldOperand()
DSemaChecking.cpp181 Expr *Builtin = BuiltinCall->getCallee()->IgnoreImpCasts(); in SemaBuiltinCallWithStaticChain()
4138 const Expr *Inside = E->IgnoreImpCasts(); in requiresParensToAddCast()
4140 Inside = POE->getSyntacticForm()->IgnoreImpCasts(); in requiresParensToAddCast()
4625 bool success = fixedFS.fixType(Ex->getType(), Ex->IgnoreImpCasts()->getType(), in HandleScanfSpecifier()
7637 E = E->IgnoreImpCasts(); in DiagnoseAlwaysNonNullPointer()
9067 Expr *Arg = Message->getArg(ArgIndex)->IgnoreImpCasts(); in CheckObjCCircularContainer()
9069 Arg = OE->getSourceExpr()->IgnoreImpCasts(); in CheckObjCCircularContainer()
9081 Expr *Receiver = Message->getInstanceReceiver()->IgnoreImpCasts(); in CheckObjCCircularContainer()
9084 Receiver = OE->getSourceExpr()->IgnoreImpCasts(); in CheckObjCCircularContainer()
DSemaExpr.cpp6529 E = E->IgnoreImpCasts(); in IsArithmeticBinaryExpr()
6531 E = E->IgnoreImpCasts(); in IsArithmeticBinaryExpr()
7816 StringLiteral* StrExpr = dyn_cast<StringLiteral>(LHSExpr->IgnoreImpCasts()); in diagnoseStringPlusInt()
7819 StrExpr = dyn_cast<StringLiteral>(RHSExpr->IgnoreImpCasts()); in diagnoseStringPlusInt()
7839 << DiagRange << IndexExpr->IgnoreImpCasts()->getType(); in diagnoseStringPlusInt()
7857 dyn_cast<CharacterLiteral>(RHSExpr->IgnoreImpCasts()); in diagnoseStringPlusChar()
7860 CharExpr = dyn_cast<CharacterLiteral>(LHSExpr->IgnoreImpCasts()); in diagnoseStringPlusChar()
7892 if (isa<CharacterLiteral>(RHSExpr->IgnoreImpCasts())) { in diagnoseStringPlusChar()
8556 UnaryOperator *UO = dyn_cast<UnaryOperator>(LHS.get()->IgnoreImpCasts()); in diagnoseLogicalNotOnLHSofComparison()
8563 Expr *SubExpr = UO->getSubExpr()->IgnoreImpCasts(); in diagnoseLogicalNotOnLHSofComparison()
[all …]
DSemaStmt.cpp224 if (isa<ParenExpr>(E->IgnoreImpCasts()) && Loc.isMacroID()) { in DiagnoseUnusedExprResult()
2436 const Expr *E = MTE->GetTemporaryExpr()->IgnoreImpCasts(); in DiagnoseForRangeReferenceVariableCopies()
2450 E = E->IgnoreImpCasts(); in DiagnoseForRangeReferenceVariableCopies()
DSemaTemplate.cpp4476 Arg = Arg->IgnoreImpCasts(); in CheckTemplateArgumentAddressOfObjectOrFunction()
4508 Arg = subst->getReplacement()->IgnoreImpCasts(); in CheckTemplateArgumentAddressOfObjectOrFunction()
4520 Arg = subst->getReplacement()->IgnoreImpCasts(); in CheckTemplateArgumentAddressOfObjectOrFunction()
4787 Arg = subst->getReplacement()->IgnoreImpCasts(); in CheckTemplateArgumentPointerToMember()
DSemaExprMember.cpp998 isa<CXXThisExpr>(BaseExpr->IgnoreImpCasts()) && in BuildMemberReferenceExpr()
DSemaOpenMP.cpp3726 N0->IgnoreImpCasts(), N0->getType(), in CheckOpenMPLoop()
3732 N0->IgnoreImpCasts(), N0->getType(), in CheckOpenMPLoop()
3754 SemaRef.PerformImplicitConversion(N->IgnoreImpCasts(), N->getType(), in CheckOpenMPLoop()
3761 SemaRef.PerformImplicitConversion(N->IgnoreImpCasts(), N->getType(), in CheckOpenMPLoop()
DSemaExprObjC.cpp3382 castedE = castedE->IgnoreImpCasts(); in addFixitForObjCARCConversion()
3425 Expr *castedE = castExpr->IgnoreImpCasts(); in addFixitForObjCARCConversion()
DSemaInit.cpp5968 InitExpr = CCE->getArg(0)->IgnoreImpCasts(); in CheckMoveOnConstruction()
DSemaDecl.cpp14123 InitExpr = InitExpr->IgnoreImpCasts(); in ValidDuplicateEnum()
/external/clang/lib/CodeGen/
DCGStmtOpenMP.cpp983 cast<DeclRefExpr>(VD->getInit()->IgnoreImpCasts())->getDecl()); in EmitOMPLinearClauseInit()
2316 assert(isa<BinaryOperator>(UE->IgnoreImpCasts()) && in EmitOMPAtomicUpdateExpr()
2318 auto *BOUE = cast<BinaryOperator>(UE->IgnoreImpCasts()); in EmitOMPAtomicUpdateExpr()
2329 auto *LHS = cast<OpaqueValueExpr>(BOUE->getLHS()->IgnoreImpCasts()); in EmitOMPAtomicUpdateExpr()
2330 auto *RHS = cast<OpaqueValueExpr>(BOUE->getRHS()->IgnoreImpCasts()); in EmitOMPAtomicUpdateExpr()
2381 assert(isa<BinaryOperator>(UE->IgnoreImpCasts()) && in EmitOMPAtomicCaptureExpr()
2383 auto *BOUE = cast<BinaryOperator>(UE->IgnoreImpCasts()); in EmitOMPAtomicCaptureExpr()
2390 auto *LHS = cast<OpaqueValueExpr>(BOUE->getLHS()->IgnoreImpCasts()); in EmitOMPAtomicCaptureExpr()
2391 auto *RHS = cast<OpaqueValueExpr>(BOUE->getRHS()->IgnoreImpCasts()); in EmitOMPAtomicCaptureExpr()
DCGExprScalar.cpp1547 Value *Elt = Visit(const_cast<Expr*>(E->IgnoreImpCasts())); in VisitCastExpr()
1548 Elt = EmitScalarConversion(Elt, E->IgnoreImpCasts()->getType(), in VisitCastExpr()
DCGBuiltin.cpp1308 QualType PtrTy = E->getArg(0)->IgnoreImpCasts()->getType(); in EmitBuiltinExpr()
1394 QualType PtrTy = E->getArg(0)->IgnoreImpCasts()->getType(); in EmitBuiltinExpr()
/external/clang/include/clang/AST/
DExpr.h712 Expr *IgnoreImpCasts() LLVM_READONLY;
789 const Expr *IgnoreImpCasts() const LLVM_READONLY { in IgnoreImpCasts() function
790 return const_cast<Expr*>(this)->IgnoreImpCasts(); in IgnoreImpCasts()
2848 inline Expr *Expr::IgnoreImpCasts() { in IgnoreImpCasts() function
/external/clang/lib/AST/
DStmtPrinter.cpp1803 OS << cast<StringLiteral>(Node->getArg(0)->IgnoreImpCasts())->getString(); in VisitUserDefinedLiteral()
1806 DeclRefExpr *DRE = cast<DeclRefExpr>(Node->getCallee()->IgnoreImpCasts()); in VisitUserDefinedLiteral()
DASTDiagnostic.cpp1724 E = E->IgnoreImpCasts(); in HasExtraInfo()
DExprConstant.cpp6810 QualType PointeeType = E->getArg(1)->IgnoreImpCasts()->getType()-> in VisitCallExpr()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h543 return InnerMatcher.matches(*Node.IgnoreImpCasts(), Finder, Builder); in AST_MATCHER_P()
/external/clang/lib/ARCMigrate/
DObjCMT.cpp216 const Expr* Expr = FullExpr->IgnoreImpCasts(); in subscriptOperatorNeedsParens()