llvm-project/llvm/include
Nathan Sidwell 51f6caf2fb [demangler][NFC] Rename SwapAndRestore to ScopedOverride
The demangler has a utility class 'SwapAndRestore'. That name is
confusing. It's not swapping anything, and the restore part happens at
the object's destruction. What it's actually doing is allowing a
override of some value that is dynamically accessible within the
lifetime of a lexical scope. Thus rename it to ScopedOverride, and
tweak it's member variable names.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D122606
2022-04-06 12:55:35 -07:00
..
llvm [demangler][NFC] Rename SwapAndRestore to ScopedOverride 2022-04-06 12:55:35 -07:00
llvm-c [Support/BLAKE3] LLVM-specific changes over the original BLAKE3 C implementation 2022-03-24 10:26:39 -07:00