Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DUndefinedAssignmentChecker.cpp96 if (I->getInit()->IgnoreImpCasts() == StoreE) { in checkBind()
H A DCheckSecuritySyntaxOnly.cpp685 const auto *Target = CE->getArg(0)->IgnoreImpCasts(), in checkCall_strcpy()
686 *Source = CE->getArg(1)->IgnoreImpCasts(); in checkCall_strcpy()
H A DNullabilityChecker.cpp564 return E->IgnoreImpCasts(); in lookThroughImplicitCasts()
/freebsd-13.1/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp892 const Expr* Expr = FullExpr->IgnoreImpCasts(); in subscriptOperatorNeedsParens()
914 const Expr* Expr = FullExpr->IgnoreImpCasts(); in castOperatorNeedsParens()
992 const Expr *OrigArg = Arg->IgnoreImpCasts(); in rewriteToNumericBoxedExpression()
1133 const Expr *OrigArg = Arg->IgnoreImpCasts(); in doRewriteToUTF8StringBoxedExpressionHelper()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaFixItUtils.cpp65 const Expr* Expr = FullExpr->IgnoreImpCasts(); in tryToFixConversion()
H A DSemaStmtAsm.cpp194 Expression = Expression->IgnoreImpCasts(); in extractRegisterName()
H A DSemaStmt.cpp258 if (isa<ParenExpr>(E->IgnoreImpCasts()) && Loc.isMacroID()) { in DiagnoseUnusedExprResult()
280 E = Cast->getSubExpr()->IgnoreImpCasts(); in DiagnoseUnusedExprResult()
3060 const Expr *E = MTE->getSubExpr()->IgnoreImpCasts(); in DiagnoseForRangeReferenceVariableCopies()
3074 E = E->IgnoreImpCasts(); in DiagnoseForRangeReferenceVariableCopies()
H A DSemaTemplateVariadic.cpp1175 E = E->IgnoreImpCasts(); in CheckFoldOperand()
H A DSemaChecking.cpp351 Expr *Builtin = BuiltinCall->getCallee()->IgnoreImpCasts(); in SemaBuiltinCallWithStaticChain()
1778 const Expr *FnPtrArg = TheCall->getArg(1)->IgnoreImpCasts(); in CheckBuiltinFunctionCall()
8924 const Expr *Inside = E->IgnoreImpCasts(); in requiresParensToAddCast()
8926 Inside = POE->getSyntacticForm()->IgnoreImpCasts(); in requiresParensToAddCast()
10278 Call->getArg(BId == Builtin::BImemset ? 2 : 1)->IgnoreImpCasts(); in CheckMemaccessSize()
10299 } else if (!isLiteralZero(Call->getArg(1)->IgnoreImpCasts())) { in CheckMemaccessSize()
13252 E = E->IgnoreImpCasts(); in DiagnoseAlwaysNonNullPointer()
15410 Expr *Arg = Message->getArg(ArgIndex)->IgnoreImpCasts(); in CheckObjCCircularContainer()
15412 Arg = OE->getSourceExpr()->IgnoreImpCasts(); in CheckObjCCircularContainer()
15424 Expr *Receiver = Message->getInstanceReceiver()->IgnoreImpCasts(); in CheckObjCCircularContainer()
[all …]
H A DSemaExpr.cpp8621 E = E->IgnoreImpCasts(); in IsArithmeticBinaryExpr()
8623 E = E->IgnoreImpCasts(); in IsArithmeticBinaryExpr()
8626 E = E->IgnoreImpCasts(); in IsArithmeticBinaryExpr()
9761 QualType LHSType = LHS.get()->IgnoreImpCasts()->getType(); in InvalidLogicalVectorOperands()
9762 QualType RHSType = RHS.get()->IgnoreImpCasts()->getType(); in InvalidLogicalVectorOperands()
10593 StrExpr = dyn_cast<StringLiteral>(RHSExpr->IgnoreImpCasts()); in diagnoseStringPlusInt()
10604 << DiagRange << IndexExpr->IgnoreImpCasts()->getType(); in diagnoseStringPlusInt()
10622 dyn_cast<CharacterLiteral>(RHSExpr->IgnoreImpCasts()); in diagnoseStringPlusChar()
10625 CharExpr = dyn_cast<CharacterLiteral>(LHSExpr->IgnoreImpCasts()); in diagnoseStringPlusChar()
10657 if (isa<CharacterLiteral>(RHSExpr->IgnoreImpCasts())) { in diagnoseStringPlusChar()
[all …]
H A DSemaExprMember.cpp988 isa<CXXThisExpr>(BaseExpr->IgnoreImpCasts()) && in BuildMemberReferenceExpr()
H A DSemaTemplate.cpp6448 Arg = Arg->IgnoreImpCasts(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6480 Arg = subst->getReplacement()->IgnoreImpCasts(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6492 Arg = subst->getReplacement()->IgnoreImpCasts(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6696 Arg = subst->getReplacement()->IgnoreImpCasts(); in CheckTemplateArgumentPointerToMember()
H A DSemaExprObjC.cpp3786 castedE = castedE->IgnoreImpCasts(); in addFixitForObjCARCConversion()
3829 Expr *castedE = castExpr->IgnoreImpCasts(); in addFixitForObjCARCConversion()
H A DSemaOpenMP.cpp4305 Expr *Init = AsExpression ? CaptureExpr : CaptureExpr->IgnoreImpCasts(); in buildCaptureDecl()
7836 Capture->IgnoreImpCasts(), Capture->getType(), Sema::AA_Converting, in tryBuildCapture()
9036 N0->IgnoreImpCasts(), N0->getType(), in checkOpenMPLoop()
9043 .PerformImplicitConversion(N0->IgnoreImpCasts(), N0->getType(), in checkOpenMPLoop()
9069 .PerformImplicitConversion(N->IgnoreImpCasts(), N->getType(), in checkOpenMPLoop()
9077 .PerformImplicitConversion(N->IgnoreImpCasts(), N->getType(), in checkOpenMPLoop()
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DASTSelection.cpp280 CE->getCallee()->IgnoreImpCasts() == S) in getSelectionCanonizalizationAction()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DStmtPrinter.cpp999 OCED->getInit()->IgnoreImpCasts()->printPretty(OS, nullptr, Policy); in VisitDeclRefExpr()
1055 !isImplicitSelf(Node->getBase()->IgnoreImpCasts())) { in VisitObjCIvarRefExpr()
1842 OS << cast<StringLiteral>(Node->getArg(0)->IgnoreImpCasts())->getString(); in VisitUserDefinedLiteral()
1845 const auto *DRE = cast<DeclRefExpr>(Node->getCallee()->IgnoreImpCasts()); in VisitUserDefinedLiteral()
H A DExprClassification.cpp226 auto *Base = cast<ArraySubscriptExpr>(E)->getBase()->IgnoreImpCasts(); in ClassifyInternal()
H A DASTDiagnostic.cpp1819 E = E->IgnoreImpCasts(); in HasExtraInfo()
/freebsd-13.1/contrib/llvm-project/clang/lib/Index/
H A DIndexBody.cpp100 auto BaseTy = ME->getBase()->IgnoreImpCasts()->getType(); in getRolesForRef()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp2109 dyn_cast<DeclRefExpr>(VD->getInit()->IgnoreImpCasts())) { in EmitOMPLinearClauseInit()
2402 EmitLValue(CED->getInit()->IgnoreImpCasts()).getAddress(*this); in EmitOMPSimdFinal()
5598 assert(isa<BinaryOperator>(UE->IgnoreImpCasts()) && in emitOMPAtomicUpdateExpr()
5600 const auto *BOUE = cast<BinaryOperator>(UE->IgnoreImpCasts()); in emitOMPAtomicUpdateExpr()
5610 const auto *LHS = cast<OpaqueValueExpr>(BOUE->getLHS()->IgnoreImpCasts()); in emitOMPAtomicUpdateExpr()
5611 const auto *RHS = cast<OpaqueValueExpr>(BOUE->getRHS()->IgnoreImpCasts()); in emitOMPAtomicUpdateExpr()
5674 assert(isa<BinaryOperator>(UE->IgnoreImpCasts()) && in emitOMPAtomicCaptureExpr()
5676 const auto *BOUE = cast<BinaryOperator>(UE->IgnoreImpCasts()); in emitOMPAtomicCaptureExpr()
5683 const auto *LHS = cast<OpaqueValueExpr>(BOUE->getLHS()->IgnoreImpCasts()); in emitOMPAtomicCaptureExpr()
5684 const auto *RHS = cast<OpaqueValueExpr>(BOUE->getRHS()->IgnoreImpCasts()); in emitOMPAtomicCaptureExpr()
H A DCodeGenFunction.cpp1809 auto *Call = dyn_cast<CallExpr>(Cond->IgnoreImpCasts()); in EmitBranchOnBoolExpr()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h812 Expr *IgnoreImpCasts() LLVM_READONLY;
813 const Expr *IgnoreImpCasts() const { in IgnoreImpCasts() function
814 return const_cast<Expr *>(this)->IgnoreImpCasts(); in IgnoreImpCasts()
/freebsd-13.1/contrib/llvm-project/clang/lib/ARCMigrate/
H A DObjCMT.cpp220 const Expr* Expr = FullExpr->IgnoreImpCasts(); in subscriptOperatorNeedsParens()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h919 return InnerMatcher.matches(*Node.IgnoreImpCasts(), Finder, Builder); in AST_MATCHER_P()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp211 CondVarExpr = CondVarExpr->IgnoreImpCasts(); in getSValForVar()

12