[all-commits] [llvm/llvm-project] 272450: [clang-tidy] Model noexcept more properly in bugpr...

Piotr Zegar via All-commits all-commits at lists.llvm.org
Mon Jul 17 09:00:01 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 27245077643ae8b94a0511ee1c3a39d6f4ca8076
      https://github.com/llvm/llvm-project/commit/27245077643ae8b94a0511ee1c3a39d6f4ca8076
  Author: Piotr Zegar <me at piotrzegar.pl>
  Date:   2023-07-17 (Mon, 17 Jul 2023)

  Changed paths:
    M clang-tools-extra/clang-tidy/utils/ExceptionAnalyzer.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/exception-escape.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list