[all-commits] [llvm/llvm-project] cee598: [clangd] Correctly identify the next token after t...

Nathan Ridge via All-commits all-commits at lists.llvm.org
Sat Nov 11 23:13:36 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cee598720f51071cb2ab9ba4f29a0005d60be80e
      https://github.com/llvm/llvm-project/commit/cee598720f51071cb2ab9ba4f29a0005d60be80e
  Author: Nathan Ridge <zeratul976 at hotmail.com>
  Date:   2023-11-12 (Sun, 12 Nov 2023)

  Changed paths:
    M clang-tools-extra/clangd/CodeComplete.cpp
    M clang-tools-extra/clangd/unittests/CodeCompleteTests.cpp

  Log Message:
  -----------
  [clangd] Correctly identify the next token after the completion point (#69153)

The code was previously using Lexer::findNextToken() which does not
handle being passed the completion point as input.

Fixes https://github.com/clangd/clangd/issues/1785




More information about the All-commits mailing list