Browse code

Add implementation

Robert Cranston authored on 04/10/2021 20:38:56
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,62 @@
1
+---
2
+
3
+WarningsAsErrors: >
4
+    # All,
5
+    *,
6
+
7
+Checks: >
8
+    # All,
9
+    *,
10
+
11
+    # Company/project-specific,
12
+    -google-*,
13
+    -llvm-*,
14
+    -llvmlibc-*,
15
+    -fuchsia-*,
16
+    -altera-*,
17
+
18
+    # Extra command line arguments,
19
+    -clang-diagnostic-unknown-warning-option,
20
+    -clang-diagnostic-ignored-optimization-argument,
21
+
22
+    # "Consider",
23
+    -cppcoreguidelines-avoid-non-const-global-variables,
24
+
25
+    # Style,
26
+    -*-use-trailing-return-type,
27
+    -*-container-size-empty,
28
+    -*-easily-swappable-parameters,
29
+    -*-return-braced-init-list,
30
+    -*-non-private-member-variables-in-classes,
31
+    -*-magic-numbers,
32
+
33
+    # Verbosity,
34
+    -*-braces-around-statements,
35
+    -*-implicit-bool-conversion,
36
+    -*-static-accessed-through-instance,
37
+    -*-named-parameter,
38
+
39
+    # -Weffc++,
40
+    -*-redundant-member-init,
41
+
42
+    # Interaction with C,
43
+    -*-cast*,
44
+    -*-vararg,
45
+    -*array-*decay,
46
+
47
+    # Backwards compatibility,
48
+    -*-union-access,
49
+
50
+    # Static storage duration throwing constructors,
51
+    -cert-err58-cpp,
52
+
53
+    # Complex functions,
54
+    -*readability-function-cognitive-complexity,
55
+
56
+    # Macro magic,
57
+    -*-macro-usage,
58
+    -*bugprone-macro-parentheses,
59
+    -*bugprone-lambda-function-name,
60
+
61
+    # Exceptions,
62
+    -*bugprone-exception-escape,