[PATCH] D33537: [clang-tidy] Exception Escape Checker
Dean Michael Berris via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri May 4 00:13:00 PDT 2018
dberris added a comment.
How about tests for functions with conditional noexcept?
================
Comment at: docs/clang-tidy/checks/bugprone-exception-escape.rst:8-9
+* Destructors
+* Copy constructors
+* Copy assignment operators
+* The ``main()`` functions
----------------
Are copy constructors and assignment operators not supposed to throw? Or did you mean *move* constructors?
================
Comment at: docs/clang-tidy/checks/bugprone-exception-escape.rst:28
+
+ Comma separated list containing function names which should not throw. An
+ example for using this parameter is the function ``WinMain()`` in the
----------------
`EnabledFunctions` but they *should not* throw?
https://reviews.llvm.org/D33537
More information about the cfe-commits
mailing list