diff options
author | Richard <legalize@xmission.com> | 2022-06-16 19:02:47 -0600 |
---|---|---|
committer | Richard <legalize@xmission.com> | 2022-06-22 12:13:34 -0600 |
commit | 89a1d03e2b379e325daa5249411e414bbd995b5e (patch) | |
tree | 9b1c9bad407c0fab8815cdd4780b80ace670050e /llvm/lib | |
parent | 130167ed1effa36aa56c83c4293e732e5163d993 (diff) | |
download | llvm-89a1d03e2b379e325daa5249411e414bbd995b5e.zip llvm-89a1d03e2b379e325daa5249411e414bbd995b5e.tar.gz llvm-89a1d03e2b379e325daa5249411e414bbd995b5e.tar.bz2 |
[clang-tidy] Organize test files into subdirectories by module (NFC)
Eliminate clutter by reorganizing the Lit test files for clang-tidy:
- Move checkers/<module>-* to checkers/<module>/*.
- Move module specific inputs from Inputs to <module>/Inputs. Remove
any module prefix from the file or subdirectory name as they are no
longer needed.
- Introduce a Lit substitution %clang_tidy_headers for the system
headers in checkers/Inputs/Headers and use this throughout. This
avoids referencing system headers through a relative path to the
parent directory and makes it clear that these fake system headers are
shared among all modules.
- Update add_new_check.py to follow the above conventions when creating
the boiler plate test files for a new check.
- Update Contributing.rst to describe per-module Inputs directory and
fix link to test source code.
Differential Revision: https://reviews.llvm.org/D128072
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions