You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add documentation redirects for clang-tidy checkers that are exposed under multiple checker names. Updates the Python script for adding checks to properly handle these aliases.
Copy file name to clipboardExpand all lines: clang-tools-extra/docs/clang-tidy/checks/misc-throw-by-value-catch-by-reference.rst
+2
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,8 @@
3
3
misc-throw-by-value-catch-by-reference
4
4
======================================
5
5
6
+
"cert-err61-cpp" redirects here as an alias for this checker.
7
+
6
8
Finds violations of the rule "Throw by value, catch by reference" presented for example in "C++ Coding Standards" by H. Sutter and A. Alexandrescu. This check also has the option to find violations of the rule "Throw anonymous temporaries" (https://www.securecoding.cert.org/confluence/display/cplusplus/ERR09-CPP.+Throw+anonymous+temporaries). The option is named "CheckThrowTemporaries" and it's on by default.
0 commit comments