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.
Paths
| Differential D149899
[clang-tidy] Support SystemHeaders in .clang-tidy ClosedPublic Authored by carlosgalvezp on May 4 2023, 1:28 PM.
Details Summary A previous patch update the clang-tidy documentation This patch adds support for it, together with tests.
Diff Detail
Event TimelineComment Actions From functionally point of view, LGTM.
This revision is now accepted and ready to land.May 5 2023, 1:38 AM
Comment Actions
carlosgalvezp marked an inline comment as done. Closed by commit rG26f476286fbc: [clang-tidy] Support SystemHeaders in .clang-tidy (authored by carlosgalvezp). · Explain WhyMay 7 2023, 9:37 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 520192 clang-tools-extra/clang-tidy/ClangTidyOptions.cpp
clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/docs/clang-tidy/index.rst
clang-tools-extra/test/clang-tidy/infrastructure/Inputs/system-headers/system_header.h
clang-tools-extra/test/clang-tidy/infrastructure/system-headers.cpp
clang-tools-extra/unittests/clang-tidy/ClangTidyOptionsTest.cpp
|
I missing 2 types of tests here:
Both should work, but would be good to test them.