Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
Torchaudio
Commits
c0bfb03a
Unverified
Commit
c0bfb03a
authored
Mar 30, 2021
by
parmeet
Committed by
GitHub
Mar 30, 2021
Browse files
Fix .clang-tidy (#1412)
parent
198f83e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
27 deletions
+30
-27
.clang-tidy
.clang-tidy
+30
-27
No files found.
.clang-tidy
View file @
c0bfb03a
---
# NOTE there must be no spaces before the '-', so put the comma first.
# NOTE there must be no spaces before the '-' and check name.
# If you edit this list, please verify list of enabled check with
# clang-tidy --list-checks
InheritParentConfig: true
Checks: '
-*
,
bugprone-
*
,
-bugprone-
forward-declaration-namespace
,-bugprone-macro-parentheses
,
cppcoreguidelines-*
,
-cppcoreguidelines-interfaces-global-init
,
-cppcoreguidelines-owning-memory
,
-cppcoreguidelines-pro-bounds-array-to-pointer-decay
,
-cppcoreguidelines-pro-bounds-constant-array-index
,
-cppcoreguidelines-pro-bounds-pointer-arithmetic
,
-cppcoreguidelines-pro-type-cstyle-cast
,
-cppcoreguidelines-pro-type-reinterpret-cast
,
-cppcoreguidelines-pro-type-static-cast-downcast
,
-cppcoreguidelines-pro-type-union-access
,
-cppcoreguidelines-pro-type-vararg
,
-cppcoreguidelines-special-member-functions
,hicpp-exception-baseclass
,
hicpp-
avoid-goto
,modernize-*
,-
modernize-
return-braced-init-list
,
-modernize-
use-auto
,
-modernize-use-
default-member-init
,
-modernize-use-
using
,performance-unnecessary-value-param
'
WarningsAsErrors: '*
'
bugprone
-*
,
-
bugprone-
forward-declaration-namespace,
-bugprone-
macro-parentheses,
-clang-analyzer-*,
cppcoreguidelines-*
,
-cppcoreguidelines-interfaces-global-init
,
-cppcoreguidelines-owning-memory
,
-cppcoreguidelines-pro-bounds-array-to-pointer-decay
,
-cppcoreguidelines-pro-bounds-constant-array-index
,
-cppcoreguidelines-pro-bounds-pointer-arithmetic
,
-cppcoreguidelines-pro-type-cstyle-cast
,
-cppcoreguidelines-pro-type-reinterpret-cast
,
-cppcoreguidelines-pro-type-static-cast-downcast
,
-cppcoreguidelines-pro-type-union-access
,
-cppcoreguidelines-pro-type-vararg
,
-cppcoreguidelines-special-member-functions
,
-facebook-hte-RelativeInclude,
hicpp-
exception-baseclass,
hicpp-avoid-goto,
modernize-
*,
-modernize-
return-braced-init-list,
-modernize-use-
auto,
-modernize-use-
default-member-init,
-modernize-use-using,
performance-unnecessary-value-param,
'
HeaderFilterRegex: 'torchaudio/.*'
AnalyzeTemporaryDtors: false
CheckOptions:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment