Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSemaInternal.h98 : Typo(TypoName.getName().getAsIdentifierInfo()), CurrentTCIndex(0), in TypoCorrectionConsumer()
155 return CurrentTCIndex < ValidatedCorrections.size() in getCurrentCorrection()
156 ? ValidatedCorrections[CurrentTCIndex] in getCurrentCorrection()
165 auto Current = CurrentTCIndex; in peekNextCorrection()
167 CurrentTCIndex = Current; in peekNextCorrection()
174 bool hasMadeAnyCorrectionProgress() const { return CurrentTCIndex != 0; } in hasMadeAnyCorrectionProgress()
180 CurrentTCIndex = 0; in resetCorrectionStream()
187 CurrentTCIndex >= ValidatedCorrections.size(); in finished()
193 SavedTCIndex = CurrentTCIndex; in saveCurrentPosition()
198 CurrentTCIndex = SavedTCIndex; in restoreSavedPosition()
[all …]
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaLookup.cpp4679 if (++CurrentTCIndex < ValidatedCorrections.size()) in getNextCorrection()
4680 return ValidatedCorrections[CurrentTCIndex]; in getNextCorrection()
4682 CurrentTCIndex = ValidatedCorrections.size(); in getNextCorrection()
4700 return ValidatedCorrections[CurrentTCIndex]; in getNextCorrection()