[all-commits] [llvm/llvm-project] 26f476: [clang-tidy] Support SystemHeaders in .clang-tidy

Carlos Galvez via All-commits all-commits at lists.llvm.org
Sun May 7 09:37:33 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 26f476286fbcb5cde51176abb2d3c6c0986bc410
      https://github.com/llvm/llvm-project/commit/26f476286fbcb5cde51176abb2d3c6c0986bc410
  Author: Carlos Galvez <carlosgalvezp at gmail.com>
  Date:   2023-05-07 (Sun, 07 May 2023)

  Changed paths:
    M clang-tools-extra/clang-tidy/ClangTidyOptions.cpp
    M clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/index.rst
    A clang-tools-extra/test/clang-tidy/infrastructure/Inputs/system-headers/system_header.h
    A clang-tools-extra/test/clang-tidy/infrastructure/system-headers.cpp
    M clang-tools-extra/unittests/clang-tidy/ClangTidyOptionsTest.cpp

  Log Message:
  -----------
  [clang-tidy] Support SystemHeaders in .clang-tidy

A previous patch update the clang-tidy documentation
incorrectly claiming that SystemHeaders can be provided
in the .clang-tidy configuration file.

This patch adds support for it, together with tests.

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




More information about the All-commits mailing list