[PATCH] D139298: WIP: Add error handling to demangle API
Tobias Hieta via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 5 00:12:34 PST 2022
thieta created this revision.
thieta added reviewers: dblaikie, jhenderson.
Herald added a subscriber: hiraditya.
Herald added a project: All.
thieta requested review of this revision.
Herald added a project: LLVM.
As discussed in https://reviews.llvm.org/D138595 - the current demangler API
can't really report more detailed errors. This is an attempt to implement
that using std::optional and std::error_code
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D139298
Files:
llvm/include/llvm/Demangle/Demangle.h
llvm/lib/Demangle/Demangle.cpp
llvm/lib/Demangle/ItaniumDemangle.cpp
llvm/lib/Demangle/MicrosoftDemangle.cpp
llvm/unittests/Demangle/DemangleTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139298.479999.patch
Type: text/x-patch
Size: 6516 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221205/42439862/attachment.bin>
More information about the llvm-commits
mailing list