Skip to content

[clang-doc] Use ExitOnError over manually handling exit conditions #140085

@ilovepi

Description

@ilovepi

clang-doc uses a lot of manual error checks, most of which exit the program, particularly when opening or manipulating files. We should prefer automated facilities, like llvm:: ExitOnError to do this in a consistent manner, and improve maintainability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions