[libcxx-commits] [libcxx] [libc++] Enable clang-tidy in the CI again (PR #195047)
via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Apr 30 08:50:51 PDT 2026
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff origin/main HEAD --extensions ,h -- libcxx/include/__memory/is_sufficiently_aligned.h libcxx/include/__tree libcxx/include/ios libcxx/include/istream libcxx/include/map --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libcxx/include/ios b/libcxx/include/ios
index f6c162d5e..1f021cc75 100644
--- a/libcxx/include/ios
+++ b/libcxx/include/ios
@@ -752,7 +752,6 @@ inline _LIBCPP_HIDE_FROM_ABI void basic_ios<_CharT, _Traits>::set_rdbuf(basic_st
ios_base::set_rdbuf(__sb);
}
-
_LIBCPP_DIAGNOSTIC_PUSH
_LIBCPP_CLANG_DIAGNOSTIC_IGNORED("-Wweak-vtables")
extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS basic_ios<char>;
``````````
</details>
https://github.com/llvm/llvm-project/pull/195047
More information about the libcxx-commits
mailing list