Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenACCAtomic.cpp84 return E->IgnoreImpCasts(); in RequireExpr()
112 return UnaryOpInfo{UO, UO->getSubExpr()->IgnoreImpCasts(), in GetUnaryOperatorInfo()
168 return BinaryOpInfo{BO, BO->getLHS()->IgnoreImpCasts(), in GetBinaryOperatorInfo()
169 BO->getRHS()->IgnoreImpCasts(), BO->getOpcode()}; in GetBinaryOperatorInfo()
284 Inf.LHS = OpCall->getArg(0)->IgnoreImpCasts(); in GetBinaryOperatorInfo()
285 Inf.RHS = OpCall->getArg(1)->IgnoreImpCasts(); in GetBinaryOperatorInfo()
H A DSemaFixItUtils.cpp65 const Expr* Expr = FullExpr->IgnoreImpCasts(); in tryToFixConversion()
H A DSemaObjC.cpp1105 Expr *Arg = Message->getArg(ArgIndex)->IgnoreImpCasts(); in CheckObjCCircularContainer()
1107 Arg = OE->getSourceExpr()->IgnoreImpCasts(); in CheckObjCCircularContainer()
1119 Expr *Receiver = Message->getInstanceReceiver()->IgnoreImpCasts(); in CheckObjCCircularContainer()
1122 Receiver = OE->getSourceExpr()->IgnoreImpCasts(); in CheckObjCCircularContainer()
H A DSemaStmt.cpp268 if (isa<ParenExpr>(E->IgnoreImpCasts()) && Loc.isMacroID()) { in DiagnoseUnused()
291 E = Cast->getSubExpr()->IgnoreImpCasts(); in DiagnoseUnused()
3064 const Expr *E = MTE->getSubExpr()->IgnoreImpCasts(); in DiagnoseForRangeReferenceVariableCopies()
3078 E = E->IgnoreImpCasts(); in DiagnoseForRangeReferenceVariableCopies()
H A DSemaStmtAsm.cpp190 Expression = Expression->IgnoreImpCasts(); in extractRegisterName()
H A DSemaExpr.cpp8725 E = E->IgnoreImpCasts(); in IsArithmeticBinaryExpr()
8727 E = E->IgnoreImpCasts(); in IsArithmeticBinaryExpr()
8730 E = E->IgnoreImpCasts(); in IsArithmeticBinaryExpr()
9976 QualType LHSType = LHS.get()->IgnoreImpCasts()->getType(); in InvalidLogicalVectorOperands()
9977 QualType RHSType = RHS.get()->IgnoreImpCasts()->getType(); in InvalidLogicalVectorOperands()
9986 << 0 << Vector->getType() << NonVector->IgnoreImpCasts()->getType() in InvalidLogicalVectorOperands()
11036 StringLiteral* StrExpr = dyn_cast<StringLiteral>(LHSExpr->IgnoreImpCasts()); in diagnoseStringPlusInt()
11039 StrExpr = dyn_cast<StringLiteral>(RHSExpr->IgnoreImpCasts()); in diagnoseStringPlusInt()
11050 << DiagRange << IndexExpr->IgnoreImpCasts()->getType(); in diagnoseStringPlusInt()
11068 dyn_cast<CharacterLiteral>(RHSExpr->IgnoreImpCasts()); in diagnoseStringPlusChar()
[all …]
H A DSemaTemplateVariadic.cpp1383 E = E->IgnoreImpCasts(); in CheckFoldOperand()
H A DCheckExprLifetime.cpp717 if (MemberExpr *ME = dyn_cast<MemberExpr>(Init->IgnoreImpCasts())) in visitLocalsRetainedByReferenceBinding()
H A DSemaExprMember.cpp915 isa<CXXThisExpr>(BaseExpr->IgnoreImpCasts()) && in BuildMemberReferenceExpr()
H A DSemaChecking.cpp795 Expr *Builtin = BuiltinCall->getCallee()->IgnoreImpCasts(); in BuiltinCallWithStaticChain()
3170 auto *DRE = dyn_cast<DeclRefExpr>(TheCall->getArg(0)->IgnoreImpCasts()); in CheckBuiltinFunctionCall()
8072 const Expr *Inside = E->IgnoreImpCasts(); in requiresParensToAddCast()
8074 Inside = POE->getSyntacticForm()->IgnoreImpCasts(); in requiresParensToAddCast()
8737 bool Success = fixedFS.fixType(Ex->getType(), Ex->IgnoreImpCasts()->getType(), in HandleScanfSpecifier()
9731 Call->getArg(BId == Builtin::BImemset ? 2 : 1)->IgnoreImpCasts(); in CheckMemaccessSize()
9755 } else if (!isLiteralZero(Call->getArg(1)->IgnoreImpCasts())) { in CheckMemaccessSize()
12959 E = E->IgnoreImpCasts(); in DiagnoseAlwaysNonNullPointer()
H A DSemaOpenMP.cpp3335 AE->IgnoreImpCasts()->Profile(AEId, S.getASTContext(), /*Canonical=*/true); in getAllocatorKind()
3340 DefAllocator->IgnoreImpCasts()->Profile(DAEId, S.getASTContext(), in getAllocatorKind()
4435 Expr *Init = AsExpression ? CaptureExpr : CaptureExpr->IgnoreImpCasts(); in buildCaptureDecl()
8441 return SemaRef.PerformImplicitConversion(Capture->IgnoreImpCasts(), in tryBuildCapture()
9796 .PerformImplicitConversion(N0->IgnoreImpCasts(), N0->getType(), in checkOpenMPLoop()
9804 .PerformImplicitConversion(N0->IgnoreImpCasts(), N0->getType(), in checkOpenMPLoop()
9830 .PerformImplicitConversion(N->IgnoreImpCasts(), N->getType(), in checkOpenMPLoop()
9838 .PerformImplicitConversion(N->IgnoreImpCasts(), N->getType(), in checkOpenMPLoop()
12235 auto *BO = cast<BinaryOperator>(S1->getRHS()->IgnoreImpCasts()); in checkForm45()
12352 if (isa<BinaryOperator>(BO->getRHS()->IgnoreImpCasts()) || in checkStmt()
[all …]
H A DSemaTemplate.cpp6572 Arg = Arg->IgnoreImpCasts(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6601 Arg = subst->getReplacement()->IgnoreImpCasts(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6613 Arg = subst->getReplacement()->IgnoreImpCasts(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6821 Arg = subst->getReplacement()->IgnoreImpCasts(); in CheckTemplateArgumentPointerToMember()
H A DSemaExprObjC.cpp3784 castedE = castedE->IgnoreImpCasts(); in addFixitForObjCARCConversion()
3827 Expr *castedE = castExpr->IgnoreImpCasts(); in addFixitForObjCARCConversion()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DUndefinedAssignmentChecker.cpp89 if (I->getInit()->IgnoreImpCasts() == StoreE) { in checkBind()
H A DNullabilityChecker.cpp645 return E->IgnoreImpCasts(); in lookThroughImplicitCasts()
/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()
1137 const Expr *OrigArg = Arg->IgnoreImpCasts(); in doRewriteToUTF8StringBoxedExpressionHelper()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp1568 const auto *DRE = dyn_cast<DeclRefExpr>(Init->IgnoreImpCasts()); in matches()
2027 dyn_cast<DeclRefExpr>(Node->getBase()->IgnoreImpCasts())) { in getClaimedVarUseSites()
2153 const auto *UO = dyn_cast<UnaryOperator>(E->IgnoreImpCasts()); in matches()
2279 const auto *UO = dyn_cast<UnaryOperator>(E->IgnoreImpCasts()); in matches()
2331 const auto *BO = dyn_cast<BinaryOperator>(E->IgnoreImpCasts()); in matches()
2380 const auto *DRE = dyn_cast<DeclRefExpr>(E->IgnoreImpCasts()); in matches()
2774 dyn_cast<DeclRefExpr>(Node->getBase()->IgnoreImpCasts())) in getFixits()
3052 const auto *DRE = cast<DeclRefExpr>(ArraySub->getBase()->IgnoreImpCasts()); in fixUPCAddressofArraySubscriptWithSpan()
3204 if (auto CxxNew = dyn_cast<CXXNewExpr>(Init->IgnoreImpCasts())) { in FixVarInitializerWithSpan()
3220 } else if (Ctx.getAsConstantArrayType(Init->IgnoreImpCasts()->getType())) { in FixVarInitializerWithSpan()
[all …]
/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.cpp1305 OCED->getInit()->IgnoreImpCasts()->printPretty(OS, nullptr, Policy); in VisitDeclRefExpr()
1395 !isImplicitSelf(Node->getBase()->IgnoreImpCasts())) { in VisitObjCIvarRefExpr()
2196 OS << cast<StringLiteral>(Node->getArg(0)->IgnoreImpCasts())->getString(); in VisitUserDefinedLiteral()
2199 const auto *DRE = cast<DeclRefExpr>(Node->getCallee()->IgnoreImpCasts()); in VisitUserDefinedLiteral()
H A DExprClassification.cpp256 auto *Base = cast<ArraySubscriptExpr>(E)->getBase()->IgnoreImpCasts(); in ClassifyInternal()
H A DASTDiagnostic.cpp1931 E = E->IgnoreImpCasts(); in HasExtraInfo()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexBody.cpp105 auto BaseTy = ME->getBase()->IgnoreImpCasts()->getType(); in getRolesForRef()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp2226 dyn_cast<DeclRefExpr>(VD->getInit()->IgnoreImpCasts())) { in EmitOMPLinearClauseInit()
2588 OrigAddr = EmitLValue(CED->getInit()->IgnoreImpCasts()).getAddress(); in EmitOMPSimdFinal()
6513 assert(isa<BinaryOperator>(UE->IgnoreImpCasts()) && in emitOMPAtomicUpdateExpr()
6515 const auto *BOUE = cast<BinaryOperator>(UE->IgnoreImpCasts()); in emitOMPAtomicUpdateExpr()
6525 const auto *LHS = cast<OpaqueValueExpr>(BOUE->getLHS()->IgnoreImpCasts()); in emitOMPAtomicUpdateExpr()
6526 const auto *RHS = cast<OpaqueValueExpr>(BOUE->getRHS()->IgnoreImpCasts()); in emitOMPAtomicUpdateExpr()
6589 assert(isa<BinaryOperator>(UE->IgnoreImpCasts()) && in emitOMPAtomicCaptureExpr()
6591 const auto *BOUE = cast<BinaryOperator>(UE->IgnoreImpCasts()); in emitOMPAtomicCaptureExpr()
6598 const auto *LHS = cast<OpaqueValueExpr>(BOUE->getLHS()->IgnoreImpCasts()); in emitOMPAtomicCaptureExpr()
6599 const auto *RHS = cast<OpaqueValueExpr>(BOUE->getRHS()->IgnoreImpCasts()); in emitOMPAtomicCaptureExpr()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/TargetBuiltins/
H A DAMDGPU.cpp1091 QualType PtrTy = E->getArg(0)->IgnoreImpCasts()->getType(); in EmitAMDGPUBuiltinExpr()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h868 Expr *IgnoreImpCasts() LLVM_READONLY;
869 const Expr *IgnoreImpCasts() const { in IgnoreImpCasts() function
870 return const_cast<Expr *>(this)->IgnoreImpCasts(); in IgnoreImpCasts()

12