Lines Matching refs:EC
255 std::error_code EC = readDiagnostics(file);
256 if (EC) {
257 switch (EC.value()) {
262 reportBad(CXLoadDiag_CannotLoad, EC.message());
265 reportInvalidFile(EC.message());
299 std::error_code EC;
300 if ((EC = readLocation(SDStart, *Start)))
301 return EC;
302 if ((EC = readLocation(SDEnd, *End)))
303 return EC;
357 if (std::error_code EC = readRange(Start, End, SR))
358 return EC;
368 if (std::error_code EC = readRange(Start, End, SR))
369 return EC;
383 if (std::error_code EC = readLocation(Location, D.DiagLoc))
384 return EC;