Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DClangdServer.cpp509 llvm::Expected<size_t> CursorPos = positionToOffset(*Code, Pos); in formatOnType() local
510 if (!CursorPos) in formatOnType()
511 return CB(CursorPos.takeError()); in formatOnType()
513 TriggerText = TriggerText.str(), CursorPos = *CursorPos, in formatOnType()
523 formatIncremental(Code, CursorPos, TriggerText, *Style)) in formatOnType()