[HTE @ clang-tidy] Enable clang-tidy configs inheretence for caffe2 project

Summary:
The primary HTE configuration (for `HTE@clang-tidy` project) is stored at the parent config `~/fbsource/fbcode.clang-tidy`. The diff enables inheretence of that configuration.

Note: `facebook-hte-` checks will not be used until switch to HTE2clang-tidy be made.
Note: `clang-diagnostic-*` will start work. As result clang warning messages can be dublicated: one time from HTE and another time from clang-diagnostic

Test Plan: N/A

Reviewed By: wfarner

Differential Revision: D24099167

fbshipit-source-id: 2e092fe678ad3e53a4cef301ce1cb737cf8401e7
This commit is contained in:
Ivan Murashko
2020-10-08 01:31:30 -07:00
committed by Facebook GitHub Bot
parent 9dc9a55bc4
commit d93cae00f2

View File

@ -1,6 +1,7 @@
---
# NOTE there must be no spaces before the '-', so put the comma last.
Checks: '-*,
InheritParentConfig: true
Checks: '
bugprone-*,
-bugprone-forward-declaration-namespace,
-bugprone-macro-parentheses,
@ -17,6 +18,7 @@ cppcoreguidelines-*,
-cppcoreguidelines-pro-type-union-access,
-cppcoreguidelines-pro-type-vararg,
-cppcoreguidelines-special-member-functions,
-facebook-hte-RelativeInclude,
hicpp-exception-baseclass,
hicpp-avoid-goto,
modernize-*,
@ -27,7 +29,7 @@ modernize-*,
-modernize-use-trailing-return-type,
performance-*,
-performance-noexcept-move-constructor,
'
'
HeaderFilterRegex: 'torch/csrc/.*'
AnalyzeTemporaryDtors: false
CheckOptions: