[all-commits] [llvm/llvm-project] e8b8f8: [clang-tidy] Simplify braced init check

Stephen Kelly via All-commits all-commits at lists.llvm.org
Sat Feb 20 12:10:13 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e8b8f896024620eb86bf924be73100d83c74c736
      https://github.com/llvm/llvm-project/commit/e8b8f896024620eb86bf924be73100d83c74c736
  Author: Stephen Kelly <steveire at gmail.com>
  Date:   2021-02-20 (Sat, 20 Feb 2021)

  Changed paths:
    M clang-tools-extra/clang-tidy/modernize/ReturnBracedInitListCheck.cpp
    M clang-tools-extra/clang-tidy/modernize/ReturnBracedInitListCheck.h
    M clang-tools-extra/test/clang-tidy/checkers/modernize-return-braced-init-list.cpp

  Log Message:
  -----------
  [clang-tidy] Simplify braced init check

The normalization of matchers means that this now works in all language
modes.

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




More information about the All-commits mailing list