mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
33 lines
900 B
C++
33 lines
900 B
C++
#pragma once
|
|
|
|
#include <binlog/binlog.hpp>
|
|
#include <string>
|
|
#include <vector>
|
|
#include <unordered_map>
|
|
#include <optional>
|
|
#include <cassert>
|
|
#include <fstream>
|
|
#include <filesystem>
|
|
#include <sstream>
|
|
#include <mutex>
|
|
#include <fmt/format.h>
|
|
#include <fmt/chrono.h>
|
|
|
|
#include "swift/logging/Formatters.h"
|
|
#include "shared/cpp/Diagnostics.h"
|
|
|
|
namespace codeql {
|
|
|
|
constexpr Diagnostic internalError{
|
|
.id = "internal-error",
|
|
.name = "Internal error",
|
|
.action =
|
|
"Some or all of the Swift analysis may have failed.\n"
|
|
"\n"
|
|
"If the error persists, contact support, quoting the error message and describing what "
|
|
"happened, or [open an issue in our open source repository][1].\n"
|
|
"\n"
|
|
"[1]: https://github.com/github/codeql/issues/new?labels=bug&template=ql---general.md",
|
|
.severity = Diagnostic::Severity::warning};
|
|
} // namespace codeql
|