[all-commits] [llvm/llvm-project] 0303ea: [clang-tidy] handle exceptions properly in `Except...

isuckatcs via All-commits all-commits at lists.llvm.org
Sun Feb 26 14:24:55 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0303eafcb34647f7d5a4015aad266b5766f5dc5e
      https://github.com/llvm/llvm-project/commit/0303eafcb34647f7d5a4015aad266b5766f5dc5e
  Author: isuckatcs <65320245+isuckatcs at users.noreply.github.com>
  Date:   2023-02-26 (Sun, 26 Feb 2023)

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

  Log Message:
  -----------
  [clang-tidy] handle exceptions properly in `ExceptionAnalyzer`

This patch implements the exception handling rules found in
N4849 14.4 and as a result fixes many false positives in
the bugprone-exception-escape checker.

Differential Revision: https://reviews.llvm.org/D135495




More information about the All-commits mailing list