[all-commits] [llvm/llvm-project] 7b6fc9: [clang-tidy] Simplify unused RAII check

Stephen Kelly via All-commits all-commits at lists.llvm.org
Tue Mar 2 13:37:50 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7b6fc9a1055a7eae07645fb7d3085dc89a8d54ab
      https://github.com/llvm/llvm-project/commit/7b6fc9a1055a7eae07645fb7d3085dc89a8d54ab
  Author: Stephen Kelly <steveire at gmail.com>
  Date:   2021-03-02 (Tue, 02 Mar 2021)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/UnusedRaiiCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/UnusedRaiiCheck.h
    M clang-tools-extra/test/clang-tidy/checkers/bugprone-unused-raii.cpp

  Log Message:
  -----------
  [clang-tidy] Simplify unused RAII check

Fix handling of default construction where the constructor has a default arg.

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




More information about the All-commits mailing list