[all-commits] [llvm/llvm-project] 092626: [clang] Use a formatted_raw_ostream in TextDiagnos...

Timm Baeder via All-commits all-commits at lists.llvm.org
Tue Oct 28 22:17:20 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 09262656f32ab3f2e1d82e5342ba37eecac52522
      https://github.com/llvm/llvm-project/commit/09262656f32ab3f2e1d82e5342ba37eecac52522
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-10-29 (Wed, 29 Oct 2025)

  Changed paths:
    M clang/include/clang/Frontend/TextDiagnostic.h
    M clang/lib/Frontend/TextDiagnostic.cpp
    A clang/test/Frontend/diag-wrap-colors.cpp
    M llvm/include/llvm/Support/FormattedStream.h

  Log Message:
  -----------
  [clang] Use a formatted_raw_ostream in TextDiagnostic (#164935)

So we can use `getColumn()` to get the column without the bytes for
color codes.


Fixes #164933



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