Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DBranchCloneCheck.cpp194 auto EndCurrent = BeginCurrent + 1; in check() local
195 while (EndCurrent < End && in check()
196 areSwitchBranchesIdentical(*BeginCurrent, *EndCurrent, Context)) { in check()
197 ++EndCurrent; in check()
201 if (EndCurrent > BeginCurrent + 1) { in check()
204 << static_cast<int>(std::distance(BeginCurrent, EndCurrent)); in check()
206 SourceLocation EndLoc = (EndCurrent - 1)->back()->getEndLoc(); in check()
212 EndLoc = (EndCurrent - 1)->back()->getBeginLoc(); in check()
223 BeginCurrent = EndCurrent; in check()