[clang-tidy] Model noexcept more properly in bugprone-exception-escape
authorPiotr Zegar <me@piotrzegar.pl>
Mon, 17 Jul 2023 15:01:38 +0000 (15:01 +0000)
committerPiotr Zegar <me@piotrzegar.pl>
Mon, 17 Jul 2023 15:59:34 +0000 (15:59 +0000)
commit27245077643ae8b94a0511ee1c3a39d6f4ca8076
tree5c729ac9cd94b9f912f81f1b8a88b9a486550846
parenta64b3e92c7cb0dd474e0ecbdb9fb86c29487451f
[clang-tidy] Model noexcept more properly in bugprone-exception-escape

During call stack analysis skip called noexcept functions
as they wont throw exceptions, they will crash.
Check will emit warnings for those functions separately.

Fixes: #43667, #49151, #51596, #54668, #54956

Reviewed By: carlosgalvezp

Differential Revision: https://reviews.llvm.org/D153458
clang-tools-extra/clang-tidy/utils/ExceptionAnalyzer.cpp
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/test/clang-tidy/checkers/bugprone/exception-escape.cpp