Issue |
92054
|
Summary |
Factor `Error` and `Expected` boilerplate return-macros
|
Labels |
new issue
|
Assignees |
|
Reporter |
mtrofin
|
Examples: [`RETURN_IF_ERROR` and `ASSIGN_OR_RETURN`](https://github.com/llvm/llvm-project/blob/c3028a230557405b0f10bdd7d450f7f92747bbe3/llvm/tools/llvm-rc/ResourceScriptParser.cpp#L20-L30) or [these](https://github.com/llvm/llvm-project/blob/c3028a230557405b0f10bdd7d450f7f92747bbe3/llvm/unittests/tools/llvm-profdata/OutputSizeLimitTest.cpp#L56-L70) with a slightly different name.
The idea is to place them in Error.h
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs