Aaron Ballman
|
c5a6da0ed1
|
Replace the custom AST matcher for nothrow functions with the canonical AST matcher from r254516.
llvm-svn: 254517
|
2015-12-02 15:24:47 +00:00 |
Aaron Ballman
|
43aef4cb9b
|
Add a new checker, cert-err58-cpp, that checks for static or thread_local objects that use a throwing constructor.
This check corresponds to the CERT secure coding rule: https://www.securecoding.cert.org/confluence/display/cplusplus/ERR58-CPP.+Constructors+of+objects+with+static+or+thread+storage+duration+must+not+throw+exceptions
llvm-svn: 254415
|
2015-12-01 14:05:39 +00:00 |
Manuel Klimek
|
5fdd843d14
|
Make isExpensiveToCopy() tri-state.
This allows returning "don't know" for dependent types.
llvm-svn: 251103
|
2015-10-23 10:00:50 +00:00 |
Aaron Ballman
|
fc4e042bf5
|
Improved the misc-move-constructor-init check to identify arguments that are passed by value but copy assigned to class data members when the non-deleted move constructor is a better fit.
Patch by Felix Berger!
llvm-svn: 249429
|
2015-10-06 16:27:03 +00:00 |