Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test lint #4061

Closed
wants to merge 1 commit into from
Closed

Test lint #4061

wants to merge 1 commit into from

Conversation

vitaut
Copy link
Contributor

@vitaut vitaut commented Jul 8, 2024

No description provided.

Copy link

github-actions bot commented Jul 8, 2024

clang-format 17.0.5 found issues in the formatting in your code:

View the diff from clang-format:
diff --git a/include/fmt/base.h b/include/fmt/base.h
index 5f754fc..ceb9845 100644
--- a/include/fmt/base.h
+++ b/include/fmt/base.h
@@ -3029,8 +3029,7 @@ FMT_INLINE void print(format_string<T...> fmt, T&&... args) {
  *     fmt::print(stderr, "Don't {}!", "panic");
  */
 template <typename... T>
-FMT_INLINE void print(FILE* f,
-format_string<T...> fmt, T&&... args) {
+FMT_INLINE void print(FILE* f, format_string<T...> fmt, T&&... args) {
   const auto& vargs = fmt::make_format_args(args...);
   if (!detail::use_utf8()) return detail::vprint_mojibake(f, fmt, vargs);
   return detail::is_locking<T...>() ? vprint_buffered(f, fmt, vargs)

@fmtbot
Copy link

fmtbot commented Jul 8, 2024

clang-format 17.0.5 found issues in the formatting in your code:

View the diff from clang-format:
diff --git a/include/fmt/base.h b/include/fmt/base.h
index 5f754fc..ceb9845 100644
--- a/include/fmt/base.h
+++ b/include/fmt/base.h
@@ -3029,8 +3029,7 @@ FMT_INLINE void print(format_string<T...> fmt, T&&... args) {
  *     fmt::print(stderr, "Don't {}!", "panic");
  */
 template <typename... T>
-FMT_INLINE void print(FILE* f,
-format_string<T...> fmt, T&&... args) {
+FMT_INLINE void print(FILE* f, format_string<T...> fmt, T&&... args) {
   const auto& vargs = fmt::make_format_args(args...);
   if (!detail::use_utf8()) return detail::vprint_mojibake(f, fmt, vargs);
   return detail::is_locking<T...>() ? vprint_buffered(f, fmt, vargs)

@vitaut vitaut closed this Jul 8, 2024
@vitaut vitaut deleted the test branch July 10, 2024 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants