Lines Matching refs:ec
70 /// @brief If ec is not success, print the error and return true.
71 static bool error(error_code ec) {
72 if (!ec) return false;
74 outs() << ToolName << ": error reading file: " << ec.message() << ".\n";
114 error_code ec;
117 i.increment(ec)) {
118 if (error(ec))
159 i.increment(ec)) {
160 if (error(ec))
192 error_code ec;
195 i.increment(ec)) {
196 if (error(ec))
248 if (error_code ec = createBinary(file, binary)) {
249 errs() << ToolName << ": " << file << ": " << ec.message() << ".\n";
258 if (error_code ec = i->getAsBinary(child)) {
259 errs() << ToolName << ": " << file << ": " << ec.message() << ".\n";