Skip to content
Permalink
Browse files

Fix obviously-broken .clang-tidy files (#28547)

Summary:
Pull Request resolved: pytorch/pytorch#28547

Pull Request resolved: #3672

See D18090864 for more background.  The issue i addressed there is more widespread, so i'm fixing all the other `.clang-tidy` files clearly not working as intended.

Perhaps this means it's time to lint the linter config :-)

Reviewed By: soumith

Differential Revision: D18092684

fbshipit-source-id: 951307d125c0346322cb2c636c0300004a48d7a9
  • Loading branch information...
wfarner authored and facebook-github-bot committed Oct 28, 2019
1 parent a13d88d commit b1d464b22826506c8ef38407d57d488068fdaaa6
Showing with 25 additions and 26 deletions.
  1. +25 −26 .clang-tidy
@@ -1,30 +1,29 @@
---
# NOTE: there must be no spaces before the '-', so put the comma first.
Checks: '
*
,clang-diagnostic-*
,modernize-*
,clang-analyzer-*
,-clang-analyzer-alpha*
,-readability-named-parameter
,-misc-unused-parameters
,-google-runtime-references
,-google-build-using-namespace
,-cppcoreguidelines-pro-type-union-access
,-google-readability-casting
,-readability-implicit-bool-cast
,-google-readability-todo
,-readability-braces-around-statements
,-google-readability-braces-around-statements
,-performance-unnecessary-value-param
,-misc-unused-using-decls
,-modernize-pass-by-value
,-modernize-raw-string-literal
,-readability-else-after-return
,-readability-implicit-bool-conversion
,-cppcoreguidelines-pro-type-member-init
,-hicpp-member-init
,-cppcoreguidelines-pro-bounds-array-to-pointer-decay
# NOTE: there must be no spaces before the '-', so put the comma last.
Checks: '*,
clang-diagnostic-*,
modernize-*,
clang-analyzer-*,
-clang-analyzer-alpha*,
-readability-named-parameter,
-misc-unused-parameters,
-google-runtime-references,
-google-build-using-namespace,
-cppcoreguidelines-pro-type-union-access,
-google-readability-casting,
-readability-implicit-bool-cast,
-google-readability-todo,
-readability-braces-around-statements,
-google-readability-braces-around-statements,
-performance-unnecessary-value-param,
-misc-unused-using-decls,
-modernize-pass-by-value,
-modernize-raw-string-literal,
-readability-else-after-return,
-readability-implicit-bool-conversion,
-cppcoreguidelines-pro-type-member-init,
-hicpp-member-init,
-cppcoreguidelines-pro-bounds-array-to-pointer-decay
'
WarningsAsErrors: ''
HeaderFilterRegex: 'include/glow'

0 comments on commit b1d464b

Please sign in to comment.
You can’t perform that action at this time.