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.