[PATCH] D126495: [clang-tidy] Organize test docs into subdirectories by module (NFC)

Richard via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 2 11:58:40 PDT 2022


LegalizeAdulthood added a comment.

In D126495#3553183 <https://reviews.llvm.org/D126495#3553183>, @LegalizeAdulthood wrote:

> In D126495#3552887 <https://reviews.llvm.org/D126495#3552887>, @njames93 wrote:
>
>> Can I ask what the motivation is for this change?
>
> https://discourse.llvm.org/t/clang-tidy-rfc-use-module-name-as-a-directory-for-organizing-files/62499

Basically there are a crapton of files in a single directory, making for clutter.

Additionally, on Windows, TAB completion of filenames in cmd shells doesn't stop at the first non-unique character in a path, so it's essentially useless when a crapton of files all begin with the same prefix.  If the files are grouped by module, then I can TAB complete on the module and usually the checks differ after a few characters in the check name once the module prefix is stripped, so typing a few characters and then TAB completes to the desired file or a few more TABs to cycle through the remaining matching files to get the one I want.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126495/new/

https://reviews.llvm.org/D126495



More information about the cfe-commits mailing list