diff --git a/.clang-tidy b/.clang-tidy index a540d67a130..e062760cf75 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -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: