Skip to content

Commit 0787c21

Browse files
vbvictorlocalspook
andauthored
Apply suggestions from code review
Co-authored-by: Victor Chernyakin <[email protected]>
1 parent eb069ae commit 0787c21

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

clang-tools-extra/docs/clang-tidy/checks/bugprone/exception-escape.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Options
4747

4848
.. option:: CheckMain
4949

50-
When `true`, ``main()`` function is analyzed to not throw exceptions.
50+
When `true`, the ``main()`` function is analyzed to not throw exceptions.
5151
Default value is `true`.
5252

5353
.. option:: CheckNothrowFunctions

clang-tools-extra/test/clang-tidy/checkers/bugprone/exception-escape-options.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ struct destructor {
1717
};
1818

1919
struct move {
20-
move(const move&) { throw 42; }
2120
move(move&&) { throw 42; }
22-
move& operator=(const move&) { throw 42; }
2321
move& operator=(move&&) { throw 42; }
2422
};
2523

0 commit comments

Comments
 (0)