[all-commits] [llvm/llvm-project] 3b9b90: [clang-tidy] Extend IdentifierNamingCheck per file...

Nathan James via All-commits all-commits at lists.llvm.org
Thu Nov 5 11:51:28 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b9b90a1914f1e470ba7d333b26bd34787337806
      https://github.com/llvm/llvm-project/commit/3b9b90a1914f1e470ba7d333b26bd34787337806
  Author: Nathan James <n.james93 at hotmail.co.uk>
  Date:   2020-11-05 (Thu, 05 Nov 2020)

  Changed paths:
    M clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
    M clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.h
    R clang-tools-extra/test/clang-tidy/checkers/Inputs/readability-identifier-naming/global-style-disabled/.clang-tidy
    R clang-tools-extra/test/clang-tidy/checkers/Inputs/readability-identifier-naming/global-style-disabled/header.h
    M clang-tools-extra/test/clang-tidy/checkers/Inputs/readability-identifier-naming/global-style1/.clang-tidy
    M clang-tools-extra/test/clang-tidy/checkers/Inputs/readability-identifier-naming/global-style1/header.h
    M clang-tools-extra/test/clang-tidy/checkers/Inputs/readability-identifier-naming/global-style2/.clang-tidy
    M clang-tools-extra/test/clang-tidy/checkers/Inputs/readability-identifier-naming/global-style2/header.h
    M clang-tools-extra/test/clang-tidy/checkers/readability-identifier-naming-multiple-styles.cpp

  Log Message:
  -----------
  [clang-tidy] Extend IdentifierNamingCheck per file config

Add IgnoreMainLikeFunctions to the per file config. This can be extended for new options added to the check easily.

Reviewed By: aaron.ballman

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




More information about the All-commits mailing list