]> git.ipfire.org Git - thirdparty/ccache.git/commit
Add a ScopeGuard struct
authorThomas Otto <thomas.otto@pdv-fs.de>
Wed, 22 Jan 2020 18:02:04 +0000 (19:02 +0100)
committerThomas Otto <thomas.otto@pdv-fs.de>
Mon, 27 Jan 2020 13:12:30 +0000 (14:12 +0100)
commit9e21157a4a73562d70b565ea11d2f38f2a985941
treecb943de875f12fffb78a55b6a72d6ea99d1ff80d
parenta245d084ae430b0242158bcb18226b7915a8f7a2
Add a ScopeGuard struct

Enables automatic cleanup of raw pointers and other resources.
For now used simplify resource management in cc_process_args.
Makefile.in
dev.mk.in
src/ScopeGuard.hpp [new file with mode: 0644]
src/args.cpp
src/args.hpp
src/ccache.cpp
unittest/test_ScopeGuard.cpp [new file with mode: 0644]