| 1 | 1 | new file mode 100644 | 
| ... | ... | @@ -0,0 +1,57 @@ | 
| 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 | + | |
| 35 | + # -Weffc++, | |
| 36 | + -*-redundant-member-init, | |
| 37 | + | |
| 38 | + # Interaction with C, | |
| 39 | + -*-cast*, | |
| 40 | + -*-vararg, | |
| 41 | + -*array-*decay, | |
| 42 | + | |
| 43 | + # Backwards compatibility, | |
| 44 | + -*-union-access, | |
| 45 | + | |
| 46 | + # Static storage duration throwing constructors, | |
| 47 | + -cert-err58-cpp, | |
| 48 | + | |
| 49 | + # Complex functions, | |
| 50 | + -*readability-function-cognitive-complexity, | |
| 51 | + | |
| 52 | + # Macro magic, | |
| 53 | + -*bugprone-macro-parentheses, | |
| 54 | + -*bugprone-lambda-function-name, | |
| 55 | + | |
| 56 | + # Exceptions, | |
| 57 | + -*bugprone-exception-escape, |