This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy][NFC] Skip intermediate cache directories when inheriting configs.
Needs ReviewPublic

Authored by njames93 on Nov 28 2020, 6:37 AM.

Details

Summary

If an configuration specifies InheritParentOption and is cached in child directories, When trying to inherit, it will keep reading the same cache directory file until it reaches the parent directory of where the config was actually stored.
To stop this just set where we are searching from to where the config was actually stored when trying to inherit configs.

Diff Detail

Event Timeline

njames93 created this revision.Nov 28 2020, 6:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 28 2020, 6:37 AM
njames93 requested review of this revision.Nov 28 2020, 6:37 AM