summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/docs/clang-tidy/checks/misc-throw-by-value-catch-by-reference.rst
Commit message (Collapse)AuthorAgeFilesLines
* Update documentation for all CERT checks that correspond to a recommendation.Aaron Ballman2019-07-221-3/+6
| | | | | | CERT removed their C++ secure coding recommendations from public view and so the links within that documentation are stale. This updates various pieces of documentation to make this more clear, and to help add substance where our docs deferred to CERT's wiki. llvm-svn: 366687
* [clang-tidy] New option for misc-throw-by-value-catch-by-referenceAdam Balogh2019-05-211-0/+15
| | | | | | | | | | | | | | Catching trivial objects by value is not dangerous but may be inefficient if they are too large. This patch adds an option `WarnOnLargeObject` to the checker to also warn if such an object is caught by value. An object is considered as "large" if its size is greater than `MaxSize` which is another option. Default value is the machine word of the architecture (size of the type `size_t`). Differential Revision: https://reviews.llvm.org/D61851 llvm-svn: 361225
* [clang-tidy] Use back-tick hereTamas Zolnai2019-04-131-2/+2
| | | | llvm-svn: 358333
* [clang-tidy] Add cert-err09-cpp check alias.Marek Kurdej2016-10-191-0/+1
| | | | | | | | | | | | Summary: This adds cert-err09-cpp alias for completeness, similar to cert-err61-cpp. Reviewers: alexfh, hokein Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D25770 llvm-svn: 284596
* [clang-tidy docs] Fix build errors on Sphinx 1.4.5Alexander Kornienko2016-08-181-6/+24
| | | | llvm-svn: 279049
* [Clang-tidy] Improve checks documentation consistency.Eugene Zelenko2016-04-021-1/+1
| | | | | | Differential revision: http://reviews.llvm.org/D18717 llvm-svn: 265205
* [clang-tidy] Documentation fixes.Gabor Horvath2016-03-031-6/+6
| | | | llvm-svn: 262601
* [clang-tidy] Fixed wording ("clang-tidy check", not "clang-tidy checker")Alexander Kornienko2016-01-181-1/+1
| | | | llvm-svn: 258098
* Add documentation redirects for clang-tidy checkers that are exposed under ↵Aaron Ballman2016-01-111-0/+2
| | | | | | multiple checker names. Updates the Python script for adding checks to properly handle these aliases. llvm-svn: 257347
* [clang-tidy] Updates to documentation: formatting, titles, etc.Alexander Kornienko2015-12-221-0/+2
| | | | llvm-svn: 256259
* Added documentation for misc-throw-by-value-catch-by-reference.Aaron Ballman2015-10-121-0/+11
Patch by Tobias Langner. llvm-svn: 250034
OpenPOWER on IntegriCloud