Lines Matching refs:error_code
196 std::error_code reportBad(enum CXLoadDiag_Error code, llvm::StringRef err) { in reportBad()
204 std::error_code reportInvalidFile(llvm::StringRef err) { in reportInvalidFile()
208 std::error_code readRange(const serialized_diags::Location &SDStart,
212 std::error_code readLocation(const serialized_diags::Location &SDLoc,
216 std::error_code visitStartOfDiagnostic() override;
217 std::error_code visitEndOfDiagnostic() override;
219 std::error_code visitCategoryRecord(unsigned ID, StringRef Name) override;
221 std::error_code visitDiagFlagRecord(unsigned ID, StringRef Name) override;
223 std::error_code visitDiagnosticRecord(
227 std::error_code visitFilenameRecord(unsigned ID, unsigned Size,
231 std::error_code visitFixitRecord(const serialized_diags::Location &Start,
235 std::error_code
255 std::error_code EC = readDiagnostics(file); in load()
274 std::error_code
288 return std::error_code(); in readLocation()
291 std::error_code
299 std::error_code EC; in readRange()
308 return std::error_code(); in readRange()
311 std::error_code DiagLoader::visitStartOfDiagnostic() { in visitStartOfDiagnostic()
313 return std::error_code(); in visitStartOfDiagnostic()
316 std::error_code DiagLoader::visitEndOfDiagnostic() { in visitEndOfDiagnostic()
322 return std::error_code(); in visitEndOfDiagnostic()
325 std::error_code DiagLoader::visitCategoryRecord(unsigned ID, StringRef Name) { in visitCategoryRecord()
330 return std::error_code(); in visitCategoryRecord()
333 std::error_code DiagLoader::visitDiagFlagRecord(unsigned ID, StringRef Name) { in visitDiagFlagRecord()
338 return std::error_code(); in visitDiagFlagRecord()
341 std::error_code DiagLoader::visitFilenameRecord(unsigned ID, unsigned Size, in visitFilenameRecord()
350 return std::error_code(); in visitFilenameRecord()
353 std::error_code
357 if (std::error_code EC = readRange(Start, End, SR)) in visitSourceRangeRecord()
360 return std::error_code(); in visitSourceRangeRecord()
363 std::error_code
368 if (std::error_code EC = readRange(Start, End, SR)) in visitFixitRecord()
375 return std::error_code(); in visitFixitRecord()
378 std::error_code DiagLoader::visitDiagnosticRecord( in visitDiagnosticRecord()
383 if (std::error_code EC = readLocation(Location, D.DiagLoc)) in visitDiagnosticRecord()
389 return std::error_code(); in visitDiagnosticRecord()