18 "Must not call RecordConsumer::consume() with a null pointer.");
19 Records.push_back(std::move(R));
27 "Must not call RecordConsumer::consume() with a null pointer.");
32 for (
auto *V : Visitors)
33 Result =
joinErrors(std::move(Result), R->apply(*V));
This class represents lattice values for constants.
Error consume(std::unique_ptr< Record > R) override
std::error_code make_error_code(BitcodeError E)
static ErrorSuccess success()
Create a success value.
Error consume(std::unique_ptr< Record > R) override
Error joinErrors(Error E1, Error E2)
Concatenate errors.
Lightweight error class with error context and mandatory checking.
Error createStringError(std::error_code EC, char const *Fmt, const Ts &... Vals)
Create formatted StringError object.