LLVM: lib/Testing/Support/Error.cpp Source File (original) (raw)
Go to the documentation of this file.
1
2
3
4
5
6
7
8
10
11using namespace llvm;
12
14 std::vector<std::shared_ptr> Infos;
16 [&Infos](std::unique_ptr Info) {
17 Infos.emplace_back(std::move(Info));
18 });
19 return {std::move(Infos)};
20}
Analysis containing CSE Info
Lightweight error class with error context and mandatory checking.
ErrorHolder TakeError(Error Err)
This is an optimization pass for GlobalISel generic memory operations.
void handleAllErrors(Error E, HandlerTs &&... Handlers)
Behaves the same as handleErrors, except that by contract all errors must be handled by the given han...