This is an archive of the discontinued LLVM Phabricator instance.

Remove explicit header-filter in run_clang_tidy.py
AbandonedPublic

Authored by juliehockett on May 20 2019, 12:53 PM.

Details

Reviewers
alexfh
hokein
Summary

This removes the else clause that adds a default -header-filter flag to clang-tidy invocations from the run_clang_tidy.py script. If this clause is present, any HeaderFilterRegex settings in the .clang-tidy file are ignored and would have to be explicitly passed to the script each time.

Diff Detail

Event Timeline

juliehockett created this revision.May 20 2019, 12:53 PM

Great idea.

Please see D61747.

juliehockett abandoned this revision.May 20 2019, 4:00 PM

@hintonda Aha so it is :)

@hintonda Aha so it is :)

I don't think it's at all controversial, so I'll commit D61747 tomorrow unless someone raises an issue. Thanks...