Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DBranchCloneCheck.cpp192 auto BeginCurrent = Branches.begin(); in check() local
193 while (BeginCurrent < End) { in check()
194 auto EndCurrent = BeginCurrent + 1; in check()
196 areSwitchBranchesIdentical(*BeginCurrent, *EndCurrent, Context)) { in check()
201 if (EndCurrent > BeginCurrent + 1) { in check()
202 diag(BeginCurrent->front()->getBeginLoc(), in check()
204 << static_cast<int>(std::distance(BeginCurrent, EndCurrent)); in check()
223 BeginCurrent = EndCurrent; in check()