[all-commits] [llvm/llvm-project] ff94ba: [clang-doc] Refactor error handling to use ExitOnE...

Samarth Narang via All-commits all-commits at lists.llvm.org
Fri May 30 13:34:36 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ff94ba613e2fab918d5d96c57833ee3f6e3f3015
      https://github.com/llvm/llvm-project/commit/ff94ba613e2fab918d5d96c57833ee3f6e3f3015
  Author: Samarth Narang <70980689+snarang181 at users.noreply.github.com>
  Date:   2025-05-30 (Fri, 30 May 2025)

  Changed paths:
    M clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
    A clang-tools-extra/test/clang-doc/invalid-options.cpp

  Log Message:
  -----------
  [clang-doc] Refactor error handling to use ExitOnError (#141699)

This patch refactors the clang-doc tool to replace manual error handling
(e.g., checking error codes and calling exit()) with llvm::ExitOnError.

Fixes #140085



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