Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/pseudo/unittests/
H A DBracketTest.cpp26 const char *NewPos = Tok.text().begin(); in decorate() local
27 assert(NewPos >= Code.begin() && NewPos < Code.end()); in decorate()
28 Result.append(Pos, NewPos - Pos); in decorate()
30 Pos = NewPos; in decorate()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DSTLAlgorithmModeling.cpp127 const auto *NewPos = getIteratorPosition(StateFound, RetVal); in Find() local
128 assert(NewPos && "Failed to create new iterator position."); in Find()
131 nonloc::SymbolVal(NewPos->getOffset()), in Find()
149 const auto *NewPos = getIteratorPosition(StateFound, RetVal); in Find() local
150 assert(NewPos && "Failed to create new iterator position."); in Find()
153 nonloc::SymbolVal(NewPos->getOffset()), in Find()
H A DIteratorModeling.cpp554 const auto *NewPos = getIteratorPosition(NewState, Iter); in handleIncrement() local
555 assert(NewPos && in handleIncrement()
558 State = setIteratorPosition(State, Iter, *NewPos); in handleIncrement()
559 State = setIteratorPosition(State, RetVal, Postfix ? *Pos : *NewPos); in handleIncrement()
580 const auto *NewPos = getIteratorPosition(NewState, Iter); in handleDecrement() local
581 assert(NewPos && in handleDecrement()
584 State = setIteratorPosition(State, Iter, *NewPos); in handleDecrement()
617 const auto *NewPos = getIteratorPosition(AdvancedState, Iterator); in handleRandomIncrOrDecr() local
618 assert(NewPos && in handleRandomIncrOrDecr()
621 State = setIteratorPosition(State, TgtVal, *NewPos); in handleRandomIncrOrDecr()
[all …]
H A DIterator.cpp250 const auto NewPos = in advancePosition() local
255 return setIteratorPosition(State, Iter, NewPos); in advancePosition()
/llvm-project-15.0.7/llvm/include/llvm/Demangle/
H A DUtility.h171 void setCurrentPosition(size_t NewPos) { CurrentPosition = NewPos; } in setCurrentPosition() argument
/llvm-project-15.0.7/libcxxabi/src/demangle/
H A DUtility.h171 void setCurrentPosition(size_t NewPos) { CurrentPosition = NewPos; } in setCurrentPosition() argument
/llvm-project-15.0.7/clang/lib/Lex/
H A DPreprocessor.cpp449 char *NewPos = std::copy(Buffer->getBufferStart(), Position, NewBuf); in SetCodeCompletionPoint() local
450 *NewPos = '\0'; in SetCodeCompletionPoint()
451 std::copy(Position, Buffer->getBufferEnd(), NewPos+1); in SetCodeCompletionPoint()