[all-commits] [llvm/llvm-project] 9d29fd: [clang-tidy] treat unsigned char and signed char a...
Congcong Cai via All-commits
all-commits at lists.llvm.org
Tue Apr 8 08:48:43 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: 9d29fd3792be9ae10eb58cecaaba313a0eaf85f1
https://github.com/llvm/llvm-project/commit/9d29fd3792be9ae10eb58cecaaba313a0eaf85f1
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2025-04-08 (Tue, 08 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.
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