[all-commits] [llvm/llvm-project] e9a88b: [clangd] Fix a bug in TweakTest::decorate()

Nathan Ridge via All-commits all-commits at lists.llvm.org
Tue Mar 14 00:02:47 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e9a88b6178d3a30123394d1fef6b51140f79d03a
      https://github.com/llvm/llvm-project/commit/e9a88b6178d3a30123394d1fef6b51140f79d03a
  Author: Nathan Ridge <zeratul976 at hotmail.com>
  Date:   2023-03-14 (Tue, 14 Mar 2023)

  Changed paths:
    M clang-tools-extra/clangd/unittests/tweaks/TweakTesting.cpp

  Log Message:
  -----------
  [clangd] Fix a bug in TweakTest::decorate()

The second argument to string::substr() is a count,
not an end position.

Differential Revision: https://reviews.llvm.org/D144453




More information about the All-commits mailing list