[libcxx-commits] [PATCH] D125476: [libc++abi][NFCI] Refactor demangling_terminate_handler to reduce nesting
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu May 12 10:27:36 PDT 2022
ldionne created this revision.
Herald added a project: All.
ldionne requested review of this revision.
Herald added a project: libc++abi.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++abi.
This keeps the same logic, but uses early return to avoid multiple layers
of nested ifs and make the code simpler to follow.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D125476
Files:
libcxxabi/src/cxa_default_handlers.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125476.428995.patch
Type: text/x-patch
Size: 4469 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220512/d05ec723/attachment-0001.bin>
More information about the libcxx-commits
mailing list