[all-commits] [llvm/llvm-project] badfb8: [clang-tidy] treat unsigned char and signed char a...
Congcong Cai via All-commits
all-commits at lists.llvm.org
Sat Apr 12 21:07:36 PDT 2025
Branch: refs/heads/users/ccc04-08-_clang-tidy_treat_unsigned_char_and_signed_char_as_char_type_by_default_in_bugprone-unintended-char-ostream-output
Home: https://github.com/llvm/llvm-project
Commit: badfb83ff201f021363e9634b4296e040251d408
https://github.com/llvm/llvm-project/commit/badfb83ff201f021363e9634b4296e040251d408
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2025-04-13 (Sun, 13 Apr 2025)
Changed paths:
M clang-tools-extra/clang-tidy/bugprone/UnintendedCharOstreamOutputCheck.cpp
M clang-tools-extra/clang-tidy/bugprone/UnintendedCharOstreamOutputCheck.h
M clang-tools-extra/docs/clang-tidy/checks/bugprone/unintended-char-ostream-output.rst
A clang-tools-extra/test/clang-tidy/checkers/bugprone/unintended-char-ostream-output-allowed-types.cpp
M clang-tools-extra/test/clang-tidy/checkers/bugprone/unintended-char-ostream-output-cast-type.cpp
M clang-tools-extra/test/clang-tidy/checkers/bugprone/unintended-char-ostream-output.cpp
Log Message:
-----------
[clang-tidy] treat unsigned char and signed char as char type by default in bugprone-unintended-char-ostream-output
Add `AllowedTypes` options to support custom defined char like type.
treat `unsigned char` and `signed char` as char like type by default.
The allowed types only effect when the var decl or explicit cast to this
non-canonical type names.
Commit: b9b424aac3796077b06326c7552c6356d0da76f5
https://github.com/llvm/llvm-project/commit/b9b424aac3796077b06326c7552c6356d0da76f5
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2025-04-13 (Sun, 13 Apr 2025)
Changed paths:
M clang-tools-extra/docs/clang-tidy/checks/bugprone/unintended-char-ostream-output.rst
Log Message:
-----------
Update unintended-char-ostream-output.rst
Compare: https://github.com/llvm/llvm-project/compare/ef9322aad21c...b9b424aac379
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list