[PATCH] D70263: [Error] Add SourceLocationError
Don Hinton via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 14 11:20:39 PST 2019
hintonda created this revision.
hintonda added reviewers: lhames, beanz.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
This class is similar to FileError, and adds source location to
arbitrary Error's. Addin source location can be done by simply
wrapping the Error creation in the llvm_SourceLocation macro.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D70263
Files:
llvm/include/llvm/Support/Error.h
llvm/lib/Support/Error.cpp
llvm/unittests/Support/ErrorTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70263.229367.patch
Type: text/x-patch
Size: 4605 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191114/e7d1d2b8/attachment.bin>
More information about the llvm-commits
mailing list