[all-commits] [llvm/llvm-project] 9a365b: [Clang] [NFC] Add "human" diagnostic argument form...

Boaz Brickner via All-commits all-commits at lists.llvm.org
Tue Nov 12 22:58:32 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9a365bc9a0dc92f25c0f1fdc25925b442dfe1455
      https://github.com/llvm/llvm-project/commit/9a365bc9a0dc92f25c0f1fdc25925b442dfe1455
  Author: Boaz Brickner <brickner at google.com>
  Date:   2024-11-13 (Wed, 13 Nov 2024)

  Changed paths:
    M clang/docs/InternalsManual.rst
    M clang/include/clang/Basic/DiagnosticCommonKinds.td
    M clang/lib/Basic/Diagnostic.cpp
    M clang/lib/Basic/SourceManager.cpp
    M clang/utils/TableGen/ClangDiagnosticsEmitter.cpp

  Log Message:
  -----------
  [Clang] [NFC] Add "human" diagnostic argument format (#115835)

This allows formatting large integers in a human friendly way. Example:
"5321584" -> "5.32M".
Use it where such human numbers are generated manually today.



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