[all-commits] [llvm/llvm-project] 3184fb: [clang][Diagnostics] Print empty lines in multilin...

Timm Bäder via All-commits all-commits at lists.llvm.org
Wed May 31 01:35:07 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3184fb958091f6b119c878e2eab894d799432686
      https://github.com/llvm/llvm-project/commit/3184fb958091f6b119c878e2eab894d799432686
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M clang/lib/Frontend/TextDiagnostic.cpp
    A clang/test/Misc/diag-style.cpp

  Log Message:
  -----------
  [clang][Diagnostics] Print empty lines in multiline snippets

We should preserve empty lines in output snippets.

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




More information about the All-commits mailing list