Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DThrowByValueCatchByReferenceCheck.cpp104 auto *CurrentSubExpr = SubExpr->IgnoreImpCasts(); in diagnoseThrowLocations()
120 auto *CurrentSubExpr = (*ArgIter)->IgnoreImpCasts(); in diagnoseThrowLocations()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DNotNullTerminatedResultCheck.cpp69 E = E->IgnoreImpCasts(); in getLength()
85 dyn_cast<StringLiteral>(StrInit->IgnoreImpCasts())) in getLength()
132 if (const Expr *Arg = StrlenCE->getArg(0)->IgnoreImpCasts()) in getGivenLength()
241 dyn_cast<DeclRefExpr>(StrlenCE->getArg(0)->IgnoreImpCasts())) in isGivenLengthEqualToSrcLength()
328 const Expr *LhsExpr = BO->getLHS()->IgnoreImpCasts(); in lengthExprHandle()
329 const Expr *RhsExpr = BO->getRHS()->IgnoreImpCasts(); in lengthExprHandle()
969 const Expr *FirstArgExpr = FunctionExpr->getArg(0)->IgnoreImpCasts(); in ncmpFix()
970 const Expr *SecondArgExpr = FunctionExpr->getArg(1)->IgnoreImpCasts(); in ncmpFix()
H A DSuspiciousEnumUsageCheck.cpp71 return isa<IntegerLiteral>(InitExpr->IgnoreImpCasts()); in isNonPowerOf2NorNullLiteral()
84 isa<IntegerLiteral>(InitExpr->IgnoreImpCasts()); in isMaxValAllBitSetLiteral()
H A DSuspiciousMissingCommaCheck.cpp112 const Expr *Child = InitializerList->getInit(I)->IgnoreImpCasts(); in check()
H A DArgumentCommentCheck.cpp249 Arg = Arg->IgnoreImpCasts(); in shouldAddComment()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/abseil/
H A DDurationFactoryFloatCheck.cpp52 const Expr *Arg = MatchedCall->getArg(0)->IgnoreImpCasts(); in check()
H A DTimeSubtractionCheck.cpp168 if (MaybeCallArg && MaybeCallArg->getArg(0)->IgnoreImpCasts() == BinOp && in check()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DASTUtils.cpp28 const Expr *EBase = E->IgnoreImpCasts(); in isBinaryOrTernary()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DProTypeCstyleCastCheck.cpp75 MatchedCast->getSubExprAsWritten()->IgnoreImpCasts(); in check()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DContainerSizeEmptyCheck.cpp229 llvm::dyn_cast<IntegerLiteral>(BinaryOp->getLHS()->IgnoreImpCasts()); in check()
231 llvm::dyn_cast<IntegerLiteral>(BinaryOp->getRHS()->IgnoreImpCasts()); in check()
H A DSimplifyBooleanExprCheck.cpp45 E = E->IgnoreImpCasts(); in needsParensAfterUnaryNegation()
136 E = E->IgnoreImpCasts(); in needsStaticCast()
143 E = E->IgnoreImpCasts(); in compareExpressionToConstant()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/mpi/
H A DBufferDerefCheck.cpp54 const Type *ArgType = ArgExpr->IgnoreImpCasts()->getType().getTypePtr(); in check()
H A DTypeMismatchCheck.cpp231 const QualType QT = CE->getArg(Idx)->IgnoreImpCasts()->getType(); in argumentType()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/
H A DAvoidCStyleCastsCheck.cpp168 const Expr *SubExpr = CastExpr->getSubExprAsWritten()->IgnoreImpCasts(); in check()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaFixItUtils.cpp65 const Expr* Expr = FullExpr->IgnoreImpCasts(); in tryToFixConversion()
/llvm-project-15.0.7/clang/lib/Tooling/Refactoring/
H A DASTSelection.cpp280 CE->getCallee()->IgnoreImpCasts() == S) in getSelectionCanonizalizationAction()
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DExtractVariable.cpp418 if (const auto *TE = dyn_cast<CXXThisExpr>(ME->getBase()->IgnoreImpCasts())) in eligibleForExtraction()
/llvm-project-15.0.7/clang/lib/AST/
H A DStmtPrinter.cpp1138 OCED->getInit()->IgnoreImpCasts()->printPretty(OS, nullptr, Policy); in VisitDeclRefExpr()
1199 !isImplicitSelf(Node->getBase()->IgnoreImpCasts())) { in VisitObjCIvarRefExpr()
1988 OS << cast<StringLiteral>(Node->getArg(0)->IgnoreImpCasts())->getString(); in VisitUserDefinedLiteral()
1991 const auto *DRE = cast<DeclRefExpr>(Node->getCallee()->IgnoreImpCasts()); in VisitUserDefinedLiteral()
H A DExprClassification.cpp226 auto *Base = cast<ArraySubscriptExpr>(E)->getBase()->IgnoreImpCasts(); in ClassifyInternal()
/llvm-project-15.0.7/clang/lib/Index/
H A DIndexBody.cpp104 auto BaseTy = ME->getBase()->IgnoreImpCasts()->getType(); in getRolesForRef()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DLoopConvertUtils.cpp704 !arrayMatchesBoundExpr(Context, Arr->IgnoreImpCasts()->getType(), in TraverseArraySubscriptExpr()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp2143 dyn_cast<DeclRefExpr>(VD->getInit()->IgnoreImpCasts())) { in EmitOMPLinearClauseInit()
2429 EmitLValue(CED->getInit()->IgnoreImpCasts()).getAddress(*this); in EmitOMPSimdFinal()
6127 assert(isa<BinaryOperator>(UE->IgnoreImpCasts()) && in emitOMPAtomicUpdateExpr()
6129 const auto *BOUE = cast<BinaryOperator>(UE->IgnoreImpCasts()); in emitOMPAtomicUpdateExpr()
6139 const auto *LHS = cast<OpaqueValueExpr>(BOUE->getLHS()->IgnoreImpCasts()); in emitOMPAtomicUpdateExpr()
6140 const auto *RHS = cast<OpaqueValueExpr>(BOUE->getRHS()->IgnoreImpCasts()); in emitOMPAtomicUpdateExpr()
6203 assert(isa<BinaryOperator>(UE->IgnoreImpCasts()) && in emitOMPAtomicCaptureExpr()
6205 const auto *BOUE = cast<BinaryOperator>(UE->IgnoreImpCasts()); in emitOMPAtomicCaptureExpr()
6212 const auto *LHS = cast<OpaqueValueExpr>(BOUE->getLHS()->IgnoreImpCasts()); in emitOMPAtomicCaptureExpr()
6213 const auto *RHS = cast<OpaqueValueExpr>(BOUE->getRHS()->IgnoreImpCasts()); in emitOMPAtomicCaptureExpr()

123