[all-commits] [llvm/llvm-project] 10f110: [clang-doc] Use DiagnosticsEngine to handle diagno...

Paul Kirth via All-commits all-commits at lists.llvm.org
Mon Dec 1 14:41:41 PST 2025


  Branch: refs/heads/users/ilovepi/cd-diagnostics
  Home:   https://github.com/llvm/llvm-project
  Commit: 10f110c29ff0f930c828e370c2637851d42fb1bb
      https://github.com/llvm/llvm-project/commit/10f110c29ff0f930c828e370c2637851d42fb1bb
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2025-11-25 (Tue, 25 Nov 2025)

  Changed paths:
    M clang-tools-extra/clang-doc/BitcodeReader.cpp
    M clang-tools-extra/clang-doc/BitcodeReader.h
    M clang-tools-extra/clang-doc/BitcodeWriter.cpp
    M clang-tools-extra/clang-doc/BitcodeWriter.h
    M clang-tools-extra/clang-doc/HTMLMustacheGenerator.cpp
    M clang-tools-extra/clang-doc/Mapper.cpp
    M clang-tools-extra/clang-doc/Representation.cpp
    M clang-tools-extra/clang-doc/Representation.h
    M clang-tools-extra/clang-doc/Serialize.cpp
    M clang-tools-extra/clang-doc/Serialize.h
    M clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
    M clang-tools-extra/unittests/clang-doc/BitcodeTest.cpp
    M clang-tools-extra/unittests/clang-doc/ClangDocTest.cpp
    M clang-tools-extra/unittests/clang-doc/ClangDocTest.h
    M clang-tools-extra/unittests/clang-doc/HTMLGeneratorTest.cpp
    M clang-tools-extra/unittests/clang-doc/HTMLMustacheGeneratorTest.cpp
    M clang-tools-extra/unittests/clang-doc/JSONGeneratorTest.cpp
    M clang-tools-extra/unittests/clang-doc/MDGeneratorTest.cpp
    M clang-tools-extra/unittests/clang-doc/MergeTest.cpp
    M clang-tools-extra/unittests/clang-doc/SerializeTest.cpp
    M clang-tools-extra/unittests/clang-doc/YAMLGeneratorTest.cpp

  Log Message:
  -----------
  [clang-doc] Use DiagnosticsEngine to handle diagnostic output

Right now we use a combination of outs() and errs() to handle tool
output. Instead, we can use existing diagnostic support in clang and
LLVM to ensure our tool has a consistent behavior with other tools.


  Commit: d055754584635f44f24e6490a9ad9a3ec26255e6
      https://github.com/llvm/llvm-project/commit/d055754584635f44f24e6490a9ad9a3ec26255e6
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2025-12-01 (Mon, 01 Dec 2025)

  Changed paths:
    M clang-tools-extra/clang-doc/Representation.cpp

  Log Message:
  -----------
  [clang-doc] Use static functions over the anonymous namespace


  Commit: 31d597d43701f858a58df1d182f9eeb07cbe7f11
      https://github.com/llvm/llvm-project/commit/31d597d43701f858a58df1d182f9eeb07cbe7f11
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2025-12-01 (Mon, 01 Dec 2025)

  Changed paths:
    M clang-tools-extra/clang-doc/Representation.cpp
    M clang-tools-extra/clang-doc/Representation.h

  Log Message:
  -----------
  [clang-doc] Reorder struct fields to have less padding


Compare: https://github.com/llvm/llvm-project/compare/10f110c29ff0%5E...31d597d43701

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