[all-commits] [llvm/llvm-project] 9ed89b: [clangd] Fix off-by-one error in CommandMangler

Nathan Ridge via All-commits all-commits at lists.llvm.org
Sun Sep 21 21:33:36 PDT 2025


  Branch: refs/heads/users/HighCommander4/clangd-issue-1850-part1
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ed89b70375baf1c89086fe773da1cf24ac5c656
      https://github.com/llvm/llvm-project/commit/9ed89b70375baf1c89086fe773da1cf24ac5c656
  Author: Nathan Ridge <zeratul976 at hotmail.com>
  Date:   2025-09-22 (Mon, 22 Sep 2025)

  Changed paths:
    M clang-tools-extra/clangd/CompileCommands.cpp
    M clang-tools-extra/clangd/unittests/CompileCommandsTests.cpp

  Log Message:
  -----------
  [clangd] Fix off-by-one error in CommandMangler

SawInput() is intended to be called for every argument after a `--`,
but it was mistakenly being called for the `--` itself.

Partially fixes https://github.com/clangd/clangd/issues/1850



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list