[all-commits] [llvm/llvm-project] 64c108: [clangd] Better handling `\n` in the synthesized d...

Haojian Wu via All-commits all-commits at lists.llvm.org
Mon Jan 17 00:28:18 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 64c108c9e4e0525328ceb4da55e4ab4b765d4c27
      https://github.com/llvm/llvm-project/commit/64c108c9e4e0525328ceb4da55e4ab4b765d4c27
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2022-01-17 (Mon, 17 Jan 2022)

  Changed paths:
    M clang-tools-extra/clangd/Diagnostics.cpp
    M clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp

  Log Message:
  -----------
  [clangd] Better handling `\n` in the synthesized diagnostic message.

The newline-eof fix was rendered as "insert '...'", this patch
special-case it.

Reviewed By: sammccall

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




More information about the All-commits mailing list