Lines Matching refs:LengthExpr
200 const auto *LengthExpr = in isStringDataAndLength() local
212 if (LengthExpr) in isStringDataAndLength()
213 if (const CXXMethodDecl *LengthMD = LengthExpr->getMethodDecl()) in isStringDataAndLength()
234 if (const auto *LengthExpr = Result.Nodes.getNodeAs<Expr>(LengthExprName)) in isGivenLengthEqualToSrcLength() local
235 if (isa<BinaryOperator>(LengthExpr->IgnoreParenImpCasts())) in isGivenLengthEqualToSrcLength()
291 static void lengthExprHandle(const Expr *LengthExpr, in lengthExprHandle() argument
295 LengthExpr = LengthExpr->IgnoreParenImpCasts(); in lengthExprHandle()
299 StringRef LengthExprStr = exprToStr(LengthExpr, Result); in lengthExprHandle()
310 if (const auto *LengthIL = dyn_cast<IntegerLiteral>(LengthExpr)) { in lengthExprHandle()
325 const auto *BO = dyn_cast<BinaryOperator>(LengthExpr); in lengthExprHandle()
353 Diag << FixItHint::CreateInsertion(LengthExpr->getBeginLoc(), "("); in lengthExprHandle()
362 Diag << FixItHint::CreateInsertion(exprLocEnd(LengthExpr, Result), Injection); in lengthExprHandle()
368 const auto *LengthExpr = Result.Nodes.getNodeAs<Expr>(LengthExprName); in lengthArgHandle() local
369 lengthExprHandle(LengthExpr, LengthHandle, Result, Diag); in lengthArgHandle()