/freebsd/contrib/llvm-project/clang/lib/Edit/ |
H A D | RewriteObjCFoundationAPI.cpp | 889 const Expr* Expr = FullExpr->IgnoreImpCasts(); in subscriptOperatorNeedsParens() 911 const Expr* Expr = FullExpr->IgnoreImpCasts(); in castOperatorNeedsParens() 989 const Expr *OrigArg = Arg->IgnoreImpCasts(); in rewriteToNumericBoxedExpression() 1135 const Expr *OrigArg = Arg->IgnoreImpCasts(); in doRewriteToUTF8StringBoxedExpressionHelper()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaFixItUtils.cpp | 65 const Expr* Expr = FullExpr->IgnoreImpCasts(); in tryToFixConversion()
|
H A D | SemaObjC.cpp | 1109 Expr *Arg = Message->getArg(ArgIndex)->IgnoreImpCasts(); in CheckObjCCircularContainer() 1111 Arg = OE->getSourceExpr()->IgnoreImpCasts(); in CheckObjCCircularContainer() 1123 Expr *Receiver = Message->getInstanceReceiver()->IgnoreImpCasts(); in CheckObjCCircularContainer() 1126 Receiver = OE->getSourceExpr()->IgnoreImpCasts(); in CheckObjCCircularContainer()
|
H A D | SemaStmtAsm.cpp | 196 Expression = Expression->IgnoreImpCasts(); in extractRegisterName()
|
H A D | SemaStmt.cpp | 264 if (isa<ParenExpr>(E->IgnoreImpCasts()) && Loc.isMacroID()) { in DiagnoseUnusedExprResult() 285 E = Cast->getSubExpr()->IgnoreImpCasts(); in DiagnoseUnusedExprResult() 2955 const Expr *E = MTE->getSubExpr()->IgnoreImpCasts(); in DiagnoseForRangeReferenceVariableCopies() 2969 E = E->IgnoreImpCasts(); in DiagnoseForRangeReferenceVariableCopies()
|
H A D | SemaExpr.cpp | 8554 E = E->IgnoreImpCasts(); in IsArithmeticBinaryExpr() 8556 E = E->IgnoreImpCasts(); in IsArithmeticBinaryExpr() 8559 E = E->IgnoreImpCasts(); in IsArithmeticBinaryExpr() 9786 QualType LHSType = LHS.get()->IgnoreImpCasts()->getType(); in InvalidLogicalVectorOperands() 9787 QualType RHSType = RHS.get()->IgnoreImpCasts()->getType(); in InvalidLogicalVectorOperands() 9796 << 0 << Vector->getType() << NonVector->IgnoreImpCasts()->getType() in InvalidLogicalVectorOperands() 10755 StringLiteral* StrExpr = dyn_cast<StringLiteral>(LHSExpr->IgnoreImpCasts()); in diagnoseStringPlusInt() 10758 StrExpr = dyn_cast<StringLiteral>(RHSExpr->IgnoreImpCasts()); in diagnoseStringPlusInt() 10769 << DiagRange << IndexExpr->IgnoreImpCasts()->getType(); in diagnoseStringPlusInt() 10787 dyn_cast<CharacterLiteral>(RHSExpr->IgnoreImpCasts()); in diagnoseStringPlusChar() [all …]
|
H A D | SemaTemplateVariadic.cpp | 1260 E = E->IgnoreImpCasts(); in CheckFoldOperand()
|
H A D | CheckExprLifetime.cpp | 334 if (isa<MemberExpr>(Arg->IgnoreImpCasts())) in handleGslAnnotatedTypes()
|
H A D | SemaChecking.cpp | 797 Expr *Builtin = BuiltinCall->getCallee()->IgnoreImpCasts(); in BuiltinCallWithStaticChain() 2863 auto *DRE = dyn_cast<DeclRefExpr>(TheCall->getArg(0)->IgnoreImpCasts()); in CheckBuiltinFunctionCall() 7111 const Expr *Inside = E->IgnoreImpCasts(); in requiresParensToAddCast() 7113 Inside = POE->getSyntacticForm()->IgnoreImpCasts(); in requiresParensToAddCast() 7776 bool Success = fixedFS.fixType(Ex->getType(), Ex->IgnoreImpCasts()->getType(), in HandleScanfSpecifier() 8585 Call->getArg(BId == Builtin::BImemset ? 2 : 1)->IgnoreImpCasts(); in CheckMemaccessSize() 8609 } else if (!isLiteralZero(Call->getArg(1)->IgnoreImpCasts())) { in CheckMemaccessSize() 11527 E = E->IgnoreImpCasts(); in DiagnoseAlwaysNonNullPointer()
|
H A D | SemaExprMember.cpp | 1030 isa<CXXThisExpr>(BaseExpr->IgnoreImpCasts()) && in BuildMemberReferenceExpr()
|
H A D | SemaOpenMP.cpp | 3349 AE->IgnoreImpCasts()->Profile(AEId, S.getASTContext(), /*Canonical=*/true); in getAllocatorKind() 3354 DefAllocator->IgnoreImpCasts()->Profile(DAEId, S.getASTContext(), in getAllocatorKind() 4438 Expr *Init = AsExpression ? CaptureExpr : CaptureExpr->IgnoreImpCasts(); in buildCaptureDecl() 8407 Capture->IgnoreImpCasts(), Capture->getType(), Sema::AA_Converting, in tryBuildCapture() 9709 N0->IgnoreImpCasts(), N0->getType(), in checkOpenMPLoop() 9716 .PerformImplicitConversion(N0->IgnoreImpCasts(), N0->getType(), in checkOpenMPLoop() 9742 .PerformImplicitConversion(N->IgnoreImpCasts(), N->getType(), in checkOpenMPLoop() 9750 .PerformImplicitConversion(N->IgnoreImpCasts(), N->getType(), in checkOpenMPLoop() 12129 auto *BO = cast<BinaryOperator>(S1->getRHS()->IgnoreImpCasts()); in checkForm45() 12246 if (isa<BinaryOperator>(BO->getRHS()->IgnoreImpCasts()) || in checkStmt() [all …]
|
H A D | SemaTemplate.cpp | 6136 Arg = Arg->IgnoreImpCasts(); in CheckTemplateArgumentAddressOfObjectOrFunction() 6168 Arg = subst->getReplacement()->IgnoreImpCasts(); in CheckTemplateArgumentAddressOfObjectOrFunction() 6180 Arg = subst->getReplacement()->IgnoreImpCasts(); in CheckTemplateArgumentAddressOfObjectOrFunction() 6391 Arg = subst->getReplacement()->IgnoreImpCasts(); in CheckTemplateArgumentPointerToMember()
|
H A D | SemaExprObjC.cpp | 3794 castedE = castedE->IgnoreImpCasts(); in addFixitForObjCARCConversion() 3837 Expr *castedE = castExpr->IgnoreImpCasts(); in addFixitForObjCARCConversion()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | UnsafeBufferUsage.cpp | 1064 dyn_cast<DeclRefExpr>(Node->getBase()->IgnoreImpCasts())) { in getClaimedVarUseSites() 1676 dyn_cast<DeclRefExpr>(Node->getBase()->IgnoreImpCasts())) in getFixits() 2091 const auto *DRE = cast<DeclRefExpr>(ArraySub->getBase()->IgnoreImpCasts()); in fixUPCAddressofArraySubscriptWithSpan() 2243 if (auto CxxNew = dyn_cast<CXXNewExpr>(Init->IgnoreImpCasts())) { in FixVarInitializerWithSpan() 2259 } else if (Ctx.getAsConstantArrayType(Init->IgnoreImpCasts()->getType())) { in FixVarInitializerWithSpan() 2267 if (auto AddrOfExpr = dyn_cast<UnaryOperator>(Init->IgnoreImpCasts())) in FixVarInitializerWithSpan()
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/ |
H A D | ASTSelection.cpp | 281 CE->getCallee()->IgnoreImpCasts() == S) in getSelectionCanonizalizationAction()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | StmtPrinter.cpp | 1200 OCED->getInit()->IgnoreImpCasts()->printPretty(OS, nullptr, Policy); in VisitDeclRefExpr() 1261 !isImplicitSelf(Node->getBase()->IgnoreImpCasts())) { in VisitObjCIvarRefExpr() 2059 OS << cast<StringLiteral>(Node->getArg(0)->IgnoreImpCasts())->getString(); in VisitUserDefinedLiteral() 2062 const auto *DRE = cast<DeclRefExpr>(Node->getCallee()->IgnoreImpCasts()); in VisitUserDefinedLiteral()
|
H A D | ExprClassification.cpp | 242 auto *Base = cast<ArraySubscriptExpr>(E)->getBase()->IgnoreImpCasts(); in ClassifyInternal()
|
H A D | ASTDiagnostic.cpp | 1892 E = E->IgnoreImpCasts(); in HasExtraInfo()
|
/freebsd/contrib/llvm-project/clang/lib/Index/ |
H A D | IndexBody.cpp | 104 auto BaseTy = ME->getBase()->IgnoreImpCasts()->getType(); in getRolesForRef()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGStmtOpenMP.cpp | 2179 dyn_cast<DeclRefExpr>(VD->getInit()->IgnoreImpCasts())) { in EmitOMPLinearClauseInit() 2464 OrigAddr = EmitLValue(CED->getInit()->IgnoreImpCasts()).getAddress(); in EmitOMPSimdFinal() 6294 assert(isa<BinaryOperator>(UE->IgnoreImpCasts()) && in emitOMPAtomicUpdateExpr() 6296 const auto *BOUE = cast<BinaryOperator>(UE->IgnoreImpCasts()); in emitOMPAtomicUpdateExpr() 6306 const auto *LHS = cast<OpaqueValueExpr>(BOUE->getLHS()->IgnoreImpCasts()); in emitOMPAtomicUpdateExpr() 6307 const auto *RHS = cast<OpaqueValueExpr>(BOUE->getRHS()->IgnoreImpCasts()); in emitOMPAtomicUpdateExpr() 6370 assert(isa<BinaryOperator>(UE->IgnoreImpCasts()) && in emitOMPAtomicCaptureExpr() 6372 const auto *BOUE = cast<BinaryOperator>(UE->IgnoreImpCasts()); in emitOMPAtomicCaptureExpr() 6379 const auto *LHS = cast<OpaqueValueExpr>(BOUE->getLHS()->IgnoreImpCasts()); in emitOMPAtomicCaptureExpr() 6380 const auto *RHS = cast<OpaqueValueExpr>(BOUE->getRHS()->IgnoreImpCasts()); in emitOMPAtomicCaptureExpr() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | NullabilityChecker.cpp | 648 return E->IgnoreImpCasts(); in lookThroughImplicitCasts()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | Expr.h | 865 Expr *IgnoreImpCasts() LLVM_READONLY; 866 const Expr *IgnoreImpCasts() const { in IgnoreImpCasts() function 867 return const_cast<Expr *>(this)->IgnoreImpCasts(); in IgnoreImpCasts()
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | InterpBuiltin.cpp | 946 ->IgnoreImpCasts() in interp__builtin_atomic_lock_free()
|
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | ObjCMT.cpp | 217 const Expr* Expr = FullExpr->IgnoreImpCasts(); in subscriptOperatorNeedsParens()
|
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchers.h | 925 return InnerMatcher.matches(*Node.IgnoreImpCasts(), Finder, Builder); in AST_MATCHER_P()
|