| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,39 @@ |
| 1 |
+--- |
|
| 2 |
+ |
|
| 3 |
+Checks: > |
|
| 4 |
+ *, |
|
| 5 |
+ -llvmlibc-*, |
|
| 6 |
+ -fuchsia-*, |
|
| 7 |
+ -altera-*, |
|
| 8 |
+ -clang-diagnostic-unknown-warning-option, |
|
| 9 |
+ -clang-diagnostic-ignored-optimization-argument, |
|
| 10 |
+ |
|
| 11 |
+ # "Consider", |
|
| 12 |
+ -cppcoreguidelines-avoid-non-const-global-variables, |
|
| 13 |
+ |
|
| 14 |
+ # Reduced verbosity, |
|
| 15 |
+ -*-braces-around-statements, |
|
| 16 |
+ -*-implicit-bool-conversion, |
|
| 17 |
+ -*-static-accessed-through-instance, |
|
| 18 |
+ |
|
| 19 |
+ # Interaction with C, |
|
| 20 |
+ -*-cast*, |
|
| 21 |
+ -*-vararg, |
|
| 22 |
+ -*array-*decay, |
|
| 23 |
+ |
|
| 24 |
+ # Static storage duration throwing constructors, |
|
| 25 |
+ -cert-err58-cpp, |
|
| 26 |
+ |
|
| 27 |
+ # Style, |
|
| 28 |
+ -*-use-trailing-return-type, |
|
| 29 |
+ -*-container-size-empty, |
|
| 30 |
+ -*-easily-swappable-parameters, |
|
| 31 |
+ |
|
| 32 |
+ # Backwards compatibility, |
|
| 33 |
+ -*-union-access, |
|
| 34 |
+ |
|
| 35 |
+ # -Weffc++, |
|
| 36 |
+ -*-redundant-member-init, |
|
| 37 |
+ |
|
| 38 |
+WarningsAsErrors: > |
|
| 39 |
+ *, |