Skip to content

Commit 22b8bd8

Browse files
committed
fix review
1 parent b69bb46 commit 22b8bd8

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

clang-tools-extra/clang-tidy/bugprone/UnintendedCharOstreamOutputCheck.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
//===--- UnintendedCharOstreamOutputCheck.cpp - clang-tidy
2-
//---------------------===//
1+
//===--- UnintendedCharOstreamOutputCheck.cpp - clang-tidy ----------------===//
32
//
43
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
54
// See https://llvm.org/LICENSE.txt for license information.

clang-tools-extra/docs/ReleaseNotes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ New checks
9494
- New :doc:`bugprone-unintended-char-ostream-output
9595
<clang-tidy/checks/bugprone/unintended-char-ostream-output>` check.
9696

97-
Finds unintended character output from `unsigned char` and `signed char` to an
97+
Finds unintended character output from ``unsigned char`` and ``signed char`` to an
9898
ostream.
9999

100100
New check aliases

clang-tools-extra/docs/clang-tidy/checks/bugprone/unintended-char-ostream-output.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
bugprone-unintended-char-ostream-output
44
=======================================
55

6-
Finds unintended character output from `unsigned char` and `signed char` to an
6+
Finds unintended character output from ``unsigned char`` and ``signed char`` to an
77
``ostream``.
88

99
Normally, when ``unsigned char (uint8_t)`` or ``signed char (int8_t)`` is used, it

clang-tools-extra/test/clang-tidy/checkers/bugprone/unintended-char-ostream-output.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ basic_ostream<char, _Traits> &operator<<(basic_ostream<char, _Traits> &,
2323

2424
using ostream = basic_ostream<char>;
2525

26-
2726
} // namespace std
2827

2928
class A : public std::ostream {};

0 commit comments

Comments
 (0)