Browse code

Add project

Robert Cranston authored on 14/10/2022 21:57:18
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,59 @@
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
+
30
+    # Verbosity,
31
+    -*-braces-around-statements,
32
+    -*-implicit-bool-conversion,
33
+    -*-static-accessed-through-instance,
34
+    -*-named-parameter,
35
+
36
+    # -Weffc++,
37
+    -*-redundant-member-init,
38
+
39
+    # Interaction with C,
40
+    -*-cast*,
41
+    -*-vararg,
42
+    -*array-*decay,
43
+
44
+    # Backwards compatibility,
45
+    -*-union-access,
46
+
47
+    # Static storage duration throwing constructors,
48
+    -cert-err58-cpp,
49
+
50
+    # Complex functions,
51
+    -*readability-function-cognitive-complexity,
52
+
53
+    # Macro magic,
54
+    -*-macro-usage,
55
+    -*bugprone-macro-parentheses,
56
+    -*bugprone-lambda-function-name,
57
+
58
+    # Exceptions,
59
+    -*bugprone-exception-escape,