summaryrefslogtreecommitdiffstats
path: root/src/common/scope_exit.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* common: scope_exit: Add a cancellable ScopeExit macro.bunnei2021-02-051-0/+6
|
* video_core: Resolve more variable shadowing scenarios pt.3Lioncash2020-12-051-1/+1
| | | | | Cleans out the rest of the occurrences of variable shadowing and makes any further occurrences of shadowing compiler errors.
* common: scope_exit: Implement mechanism for canceling a scope exit.bunnei2020-04-171-1/+8
|
* common/scope_exit: Replace std::move with std::forward in ScopeExit()Lioncash2019-04-121-1/+1
| | | | | | 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.
* Format: Run the new clang format on everythingJames Rowe2018-01-211-1/+1
|
* Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner2016-09-191-2/+1
|
* Sources: Run clang-format on everything.Emmanuel Gil Peyrot2016-09-181-9/+14
|
* Asserts: break/crash program, fit to style guide; log.h->assert.harchshift2015-02-111-0/+1
| | | | | | | 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.
* Common: Fix SCOPE_EXIT to actually create unique identifiers.Yuri Kunde Schlesner2015-01-301-1/+3
|
* License changepurpasmart962014-12-211-1/+1
|
* Add SCOPE_EXIT macro to conveniently execute cleanup actionsYuri Kunde Schlesner2014-12-131-0/+37