[all-commits] [llvm/llvm-project] e5c98e: [demangler] Simplify SwapAndRestore

Nathan Sidwell via All-commits all-commits at lists.llvm.org
Tue Mar 1 04:37:50 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e5c98e22fbbe3c3eb5f2c782d0789098afc81518
      https://github.com/llvm/llvm-project/commit/e5c98e22fbbe3c3eb5f2c782d0789098afc81518
  Author: Nathan Sidwell <nathan at acm.org>
  Date:   2022-03-01 (Tue, 01 Mar 2022)

  Changed paths:
    M libcxxabi/src/demangle/Utility.h
    M llvm/include/llvm/Demangle/Utility.h

  Log Message:
  -----------
  [demangler] Simplify SwapAndRestore

The SwapAndRestore class is over engineered.  Nothing makes use of the
early restoration machinery.  Let's just remove that cognative burdon.

Reviewed By: ChuanqiXu

Differential Revision: https://reviews.llvm.org/D120673




More information about the All-commits mailing list