mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Swift: update formatting to clang-format 17.0.6
Also, added a format check in `swift.yml`.
This commit is contained in:
@@ -63,7 +63,7 @@
|
||||
#define DIAGNOSE_WITH_LEVEL(LEVEL, ID, FORMAT, ...) \
|
||||
do { \
|
||||
auto _now = ::binlog::clockNow(); \
|
||||
const ::codeql::Diagnostic& _id = ID; \
|
||||
const ::codeql::Diagnostic& _id = ID; \
|
||||
::codeql::Log::diagnose(_id, std::chrono::nanoseconds{_now}, \
|
||||
fmt::format(FORMAT __VA_OPT__(, ) __VA_ARGS__)); \
|
||||
LOG_WITH_LEVEL_AND_TIME(LEVEL, _now, CODEQL_DIAGNOSTIC_LOG_FORMAT_PREFIX FORMAT, \
|
||||
|
||||
Reference in New Issue
Block a user