This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Extend InheritParentConfig to CommandLineConfig
ClosedPublic

Authored by njames93 on Jun 16 2020, 10:23 AM.

Details

Summary

Extend the InheritParentConfig support introduced in D75184 for the command line option --config.
The current behaviour of --config is to when set, disable looking for .clang-tidy configuration files.
This new behaviour lets you set InheritParentConfig to true in the command line to then look for .clang-tidy configuration files to be merged with what's been specified on the command line.

Diff Detail

Event Timeline

njames93 created this revision.Jun 16 2020, 10:23 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 16 2020, 10:23 AM
This revision is now accepted and ready to land.Jun 16 2020, 2:59 PM
This revision was automatically updated to reflect the committed changes.