forked from facebookresearch/habitat-sim
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.clang-tidy
46 lines (45 loc) · 1.43 KB
/
.clang-tidy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Checks: '
bugprone-*,
cppcoreguidelines-init-variables,
cppcoreguidelines-pro-type-member-init,
google-*,
misc-definitions-in-headers,
misc-static-assert,
misc-unconventional-assign-operator,
misc-unused-parameters,
modernize-avoid-bind,
modernize-redundant-void-arg,
modernize-replace-disallow-copy-and-assign-macro,
modernize-shrink-to-fit,
modernize-unary-static-assert,
modernize-use-bool-literals,
modernize-use-default-member-init,
modernize-use-noexcept,
modernize-use-nullptr,
modernize-use-override,
performance-*,
-*-objc-*,
-*.cocoa.*,
-clang-analyzer-core.NullDereference,
-clang-analyzer-optin.cplusplus.UninitializedObject,
-clang-analyzer-optin.cplusplus.VirtualCall,
-clang-analyzer-security.insecureAPI.rand,
-google-default-arguments,
-google-readability-braces-around-statements,
-google-readability-todo,
-google-runtime-references,
-modernize-avoid-c-arrays,
-modernize-use-auto,
-modernize-use-trailing-return-type,
'
# Let deprecation warnings through. From time to time, Magnum annotates APIs
# with deprecation warnings, suggesting people to upgrade to newer / better
# designed / more flexible APIs. Treating such warnings as error is
# counterproductive, since the first thing you want to do after an upgrade is
# compiling existing *unchanged* code and ensuring all tests pass, and only
# then start updating the code.
WarningsAsErrors:
'*,
-bugprone-narrowing-conversions,
-bugprone-unused-raii,
-clang-diagnostic-deprecated-declarations'