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

isuckatcs via All-commits all-commits at lists.llvm.org
Fri Feb 24 04:47:17 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b0cf1e15f8f84e3d4b6f9522287f6460527a7bf
      https://github.com/llvm/llvm-project/commit/6b0cf1e15f8f84e3d4b6f9522287f6460527a7bf
  Author: isuckatcs <65320245+isuckatcs at users.noreply.github.com>
  Date:   2023-02-24 (Fri, 24 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