[all-commits] [llvm/llvm-project] fb99a8: [clang-tidy][NFC] Refactor `modernize-use-trailing...

Baranov Victor via All-commits all-commits at lists.llvm.org
Sat May 24 09:56:12 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fb99a850b6cee22b1406fa7408435be38d47ea11
      https://github.com/llvm/llvm-project/commit/fb99a850b6cee22b1406fa7408435be38d47ea11
  Author: Baranov Victor <bar.victor.2002 at gmail.com>
  Date:   2025-05-24 (Sat, 24 May 2025)

  Changed paths:
    M clang-tools-extra/clang-tidy/modernize/UseTrailingReturnTypeCheck.cpp
    M clang-tools-extra/clang-tidy/modernize/UseTrailingReturnTypeCheck.h
    M clang-tools-extra/test/clang-tidy/checkers/modernize/use-trailing-return-type-cxx20.cpp

  Log Message:
  -----------
  [clang-tidy][NFC] Refactor `modernize-use-trailing-return-type-check` check code and tests (#140759)

- Deleted unused includes
- Deleted useless braces
- Converted private methods to static function to improve compilations
speed and readability
- Modernized tests to use `cxx-or-later`



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list