[all-commits] [llvm/llvm-project] 7a8f5d: [clang-tidy] Added new check to detect redundant i...

Félix-Antoine Constantin via All-commits all-commits at lists.llvm.org
Sat Jan 20 01:46:11 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7a8f5d97afbff948fa2437c81d08a5963ee7d8cf
      https://github.com/llvm/llvm-project/commit/7a8f5d97afbff948fa2437c81d08a5963ee7d8cf
  Author: Félix-Antoine Constantin <60141446+felix642 at users.noreply.github.com>
  Date:   2024-01-20 (Sat, 20 Jan 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/readability/CMakeLists.txt
    M clang-tools-extra/clang-tidy/readability/ReadabilityTidyModule.cpp
    A clang-tools-extra/clang-tidy/readability/RedundantInlineSpecifierCheck.cpp
    A clang-tools-extra/clang-tidy/readability/RedundantInlineSpecifierCheck.h
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/list.rst
    A clang-tools-extra/docs/clang-tidy/checks/readability/redundant-inline-specifier.rst
    A clang-tools-extra/test/clang-tidy/checkers/readability/redundant-inline-specifier.cpp

  Log Message:
  -----------
  [clang-tidy] Added new check to detect redundant inline keyword (#73069)

This checks find usages of the inline keywork where it is already
implicitly defined by the compiler and suggests it's removal.

Fixes #72397




More information about the All-commits mailing list