| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 358333
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 279049
|
|
|
|
|
|
| |
Differential revision: http://reviews.llvm.org/D18717
llvm-svn: 265205
|
|
|
|
| |
llvm-svn: 262601
|
|
|
|
| |
llvm-svn: 258098
|
|
|
|
|
|
| |
multiple checker names. Updates the Python script for adding checks to properly handle these aliases.
llvm-svn: 257347
|
|
|
|
| |
llvm-svn: 256259
|
|
Patch by Tobias Langner.
llvm-svn: 250034
|