]> git.ipfire.org Git - thirdparty/ccache.git/commit
refactor: Use tl::expected for process_args return value
authorJoel Rosdahl <joel@rosdahl.net>
Mon, 27 May 2024 17:55:22 +0000 (19:55 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Mon, 27 May 2024 19:53:01 +0000 (21:53 +0200)
commit181ffcff3186d87d2ce30b1a98426b1beae4f872
tree5987b20130bf0145fbaca5b597ef090ed6a28dcc
parent5717e48b649f2d0ba36753efcb6f3d5dc9d6e2e4
refactor: Use tl::expected for process_args return value

This should make the error paths more obvious.

As discussed in #1459.
src/ccache/argprocessing.cpp
src/ccache/argprocessing.hpp
src/ccache/ccache.cpp
unittest/test_argprocessing.cpp