Lines Matching defs:EC
149 bool error(std::error_code EC) {
150 if (!EC)
154 outs() << "\nError reading file: " << EC.message() << ".\n";
168 static void reportError(StringRef Input, std::error_code EC) {
172 errs() << Input << ": " << EC.message() << "\n";
218 if (std::error_code EC = createDumper(Obj, Writer, Dumper)) {
219 reportError(Obj->getFileName(), EC);
266 if (std::error_code EC = ChildOrErr.getError()) {
268 if (EC != object_error::invalid_file_type)
269 reportError(Arc->getFileName(), EC.message());
291 if (std::error_code EC = BinaryOrErr.getError()) {
292 reportError(File, EC);