Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaInternal.h94 : Typo(TypoName.getName().getAsIdentifierInfo()), CurrentTCIndex(0), in TypoCorrectionConsumer()
151 return CurrentTCIndex < ValidatedCorrections.size() in getCurrentCorrection()
152 ? ValidatedCorrections[CurrentTCIndex] in getCurrentCorrection()
161 auto Current = CurrentTCIndex; in peekNextCorrection()
163 CurrentTCIndex = Current; in peekNextCorrection()
170 bool hasMadeAnyCorrectionProgress() const { return CurrentTCIndex != 0; } in hasMadeAnyCorrectionProgress()
176 CurrentTCIndex = 0; in resetCorrectionStream()
183 CurrentTCIndex >= ValidatedCorrections.size(); in finished()
189 SavedTCIndex = CurrentTCIndex; in saveCurrentPosition()
194 CurrentTCIndex = SavedTCIndex; in restoreSavedPosition()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaLookup.cpp4640 if (++CurrentTCIndex < ValidatedCorrections.size()) in getNextCorrection()
4641 return ValidatedCorrections[CurrentTCIndex]; in getNextCorrection()
4643 CurrentTCIndex = ValidatedCorrections.size(); in getNextCorrection()
4661 return ValidatedCorrections[CurrentTCIndex]; in getNextCorrection()