This is an archive of the discontinued LLVM Phabricator instance.

[NFC][compiler-rt] Refine .clang-tidy checks
ClosedPublic

Authored by vitalybuka on Sep 5 2020, 12:19 AM.

Diff Detail

Event Timeline

vitalybuka created this revision.Sep 5 2020, 12:19 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 5 2020, 12:20 AM
Herald added subscribers: Restricted Project, dberris. · View Herald Transcript
vitalybuka requested review of this revision.Sep 5 2020, 12:20 AM

misc-unused-parameters

MaskRay accepted this revision.Sep 5 2020, 10:21 AM

Thanks! I think one reason that people don't use InheritParentConfig is that it is too new (cb1ee34e9d32fce84613827693a8ed3aff1d36cf 2020-04). For pre-merge checkers' purposes, we can use it I think... Is InheritParentConfig ignored for older clang-tidy?

This revision is now accepted and ready to land.Sep 5 2020, 10:21 AM

Thanks! I think one reason that people don't use InheritParentConfig is that it is too new (cb1ee34e9d32fce84613827693a8ed3aff1d36cf 2020-04). For pre-merge checkers' purposes, we can use it I think... Is InheritParentConfig ignored for older clang-tidy?

I didn't know that this is so new.
It reports error and turn on set of default checks which cause a lot of warning on compiler-rt.
If we can't use, I'd rather not duplicate and use single root config like it's now with your patch.
I'd try to merge it. WDYT?

Thanks! I think one reason that people don't use InheritParentConfig is that it is too new (cb1ee34e9d32fce84613827693a8ed3aff1d36cf 2020-04). For pre-merge checkers' purposes, we can use it I think... Is InheritParentConfig ignored for older clang-tidy?

I didn't know that this is so new.
It reports error and turn on set of default checks which cause a lot of warning on compiler-rt.
If we can't use, I'd rather not duplicate and use single root config like it's now with your patch.
I'd try to merge it. WDYT?

A readability-identifier-naming disabling root .clang-tidy sounds good!

vitalybuka planned changes to this revision.Sep 5 2020, 2:36 PM

Thanks! I think one reason that people don't use InheritParentConfig is that it is too new (cb1ee34e9d32fce84613827693a8ed3aff1d36cf 2020-04). For pre-merge checkers' purposes, we can use it I think... Is InheritParentConfig ignored for older clang-tidy?

I didn't know that this is so new.
It reports error and turn on set of default checks which cause a lot of warning on compiler-rt.
If we can't use, I'd rather not duplicate and use single root config like it's now with your patch.
I'd try to merge it. WDYT?

A readability-identifier-naming disabling root .clang-tidy sounds good!

OK. Abandoning.

vitalybuka updated this revision to Diff 290108.Sep 5 2020, 3:40 PM

remove InheritParentConfig

This revision is now accepted and ready to land.Sep 5 2020, 3:40 PM

I'll still submit this subset.

This revision was landed with ongoing or failed builds.Sep 5 2020, 3:42 PM
This revision was automatically updated to reflect the committed changes.