mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Swift extractor: Simplify declarations back
This commit is contained in:
@@ -97,13 +97,15 @@ inline constexpr Diagnostic::Visibility operator&(Diagnostic::Visibility lhs,
|
||||
static_cast<unsigned char>(rhs));
|
||||
}
|
||||
|
||||
constexpr Diagnostic internalError = Diagnostic{
|
||||
.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};
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user