Home
last modified time | relevance | path

Searched refs:PtrArith (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DMisplacedPointerArithmeticInAllocCheck.cpp64 const auto *PtrArith = Result.Nodes.getNodeAs<BinaryOperator>("PtrArith"); in check() local
65 const Expr *AllocExpr = PtrArith->getLHS()->IgnoreParenCasts(); in check()
88 const SourceRange OldRParen = SourceRange(PtrArith->getLHS()->getEndLoc()); in check()
93 PtrArith->getEndLoc(), 0, *Result.SourceManager, getLangOpts()); in check()
95 diag(PtrArith->getBeginLoc(), in check()