Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DMisplacedArrayIndexCheck.cpp31 const auto *ArraySubscriptE = in check() local
34 auto Diag = diag(ArraySubscriptE->getBeginLoc(), "confusing array subscript " in check()
40 const Expr *RHSE = ArraySubscriptE->getRHS()->IgnoreParenImpCasts(); in check()
46 ArraySubscriptE->getLHS()->getSourceRange(), *Result.Context); in check()
48 ArraySubscriptE->getRHS()->getSourceRange(), *Result.Context); in check()
51 ArraySubscriptE->getLHS()->getSourceRange(), RText); in check()
53 ArraySubscriptE->getRHS()->getSourceRange(), LText); in check()
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DProBoundsConstantArrayIndexCheck.cpp70 if (const auto *ArraySubscriptE = dyn_cast<ArraySubscriptExpr>(Matched)) in check() local
71 BaseRange = ArraySubscriptE->getBase()->getSourceRange(); in check()