summaryrefslogtreecommitdiff
path: root/src/common/scope_exit.h
AgeCommit message (Collapse)Author
2021-02-05common: scope_exit: Add a cancellable ScopeExit macro.bunnei
2020-12-05video_core: Resolve more variable shadowing scenarios pt.3Lioncash
Cleans out the rest of the occurrences of variable shadowing and makes any further occurrences of shadowing compiler errors.
2020-04-17common: scope_exit: Implement mechanism for canceling a scope exit.bunnei
2019-04-11common/scope_exit: Replace std::move with std::forward in ScopeExit()Lioncash
The template type here is actually a forwarding reference, not an rvalue reference in this case, so it's more appropriate to use std::forward to preserve the value category of the type being moved.
2018-01-20Format: Run the new clang format on everythingJames Rowe
2016-09-18Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot
2015-02-10Asserts: break/crash program, fit to style guide; log.h->assert.harchshift
Involves making asserts use printf instead of the log functions (log functions are asynchronous and, as such, the log won't be printed in time) As such, the log type argument was removed (printf obviously can't use it, and it's made obsolete by the file and line printing) Also removed some GEKKO cruft.
2015-01-30Common: Fix SCOPE_EXIT to actually create unique identifiers.Yuri Kunde Schlesner
2014-12-20License changepurpasmart96
2014-12-13Add SCOPE_EXIT macro to conveniently execute cleanup actionsYuri Kunde Schlesner