Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp889 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 DSemaFixItUtils.cpp65 const Expr* Expr = FullExpr->IgnoreImpCasts(); in tryToFixConversion()
H A DSemaObjC.cpp1109 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 DSemaStmtAsm.cpp196 Expression = Expression->IgnoreImpCasts(); in extractRegisterName()
H A DSemaStmt.cpp264 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 DSemaExpr.cpp8554 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 DSemaTemplateVariadic.cpp1260 E = E->IgnoreImpCasts(); in CheckFoldOperand()
H A DCheckExprLifetime.cpp334 if (isa<MemberExpr>(Arg->IgnoreImpCasts())) in handleGslAnnotatedTypes()
H A DSemaChecking.cpp797 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 DSemaExprMember.cpp1030 isa<CXXThisExpr>(BaseExpr->IgnoreImpCasts()) && in BuildMemberReferenceExpr()
H A DSemaOpenMP.cpp3349 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 DSemaTemplate.cpp6136 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 DSemaExprObjC.cpp3794 castedE = castedE->IgnoreImpCasts(); in addFixitForObjCARCConversion()
3837 Expr *castedE = castExpr->IgnoreImpCasts(); in addFixitForObjCARCConversion()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp1064 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 DASTSelection.cpp281 CE->getCallee()->IgnoreImpCasts() == S) in getSelectionCanonizalizationAction()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DStmtPrinter.cpp1200 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 DExprClassification.cpp242 auto *Base = cast<ArraySubscriptExpr>(E)->getBase()->IgnoreImpCasts(); in ClassifyInternal()
H A DASTDiagnostic.cpp1892 E = E->IgnoreImpCasts(); in HasExtraInfo()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexBody.cpp104 auto BaseTy = ME->getBase()->IgnoreImpCasts()->getType(); in getRolesForRef()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp2179 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 DNullabilityChecker.cpp648 return E->IgnoreImpCasts(); in lookThroughImplicitCasts()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h865 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 DInterpBuiltin.cpp946 ->IgnoreImpCasts() in interp__builtin_atomic_lock_free()
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DObjCMT.cpp217 const Expr* Expr = FullExpr->IgnoreImpCasts(); in subscriptOperatorNeedsParens()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h925 return InnerMatcher.matches(*Node.IgnoreImpCasts(), Finder, Builder); in AST_MATCHER_P()

12