[all-commits] [llvm/llvm-project] 7a73da: [clang-tidy] Add support for optional parameters i...

FĂ©lix-Antoine Constantin via All-commits all-commits at lists.llvm.org
Mon Oct 9 12:59:16 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7a73da4c85a12341752a4573c55ebff46ba20db0
      https://github.com/llvm/llvm-project/commit/7a73da4c85a12341752a4573c55ebff46ba20db0
  Author: Felix <felix-antoine.constantin at polymtl.ca>
  Date:   2023-10-09 (Mon, 09 Oct 2023)

  Changed paths:
    M clang-tools-extra/clang-tidy/ClangTidyCheck.h
    M clang-tools-extra/clang-tidy/readability/FunctionSizeCheck.cpp
    M clang-tools-extra/clang-tidy/readability/FunctionSizeCheck.h
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/readability/function-size.rst
    M clang-tools-extra/test/clang-tidy/checkers/readability/function-size.cpp
    M clang-tools-extra/test/clang-tidy/infrastructure/config-files.cpp

  Log Message:
  -----------
  [clang-tidy] Add support for optional parameters in config.

If a parameter value is either 'none', 'null', 'false', '-1'
or '', we will in that case use the default value.

Reviewed By: PiotrZSL

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




More information about the All-commits mailing list