|
| 1 | +Checks: > |
| 2 | + clang-diagnostic-*, |
| 3 | + clang-analyzer-*, |
| 4 | + -clang-analyzer-core.NonNullParamChecker, |
| 5 | + -clang-analyzer-core.CallAndMessage, |
| 6 | + -clang-analyzer-core.uninitialized.UndefReturn, |
| 7 | + -clang-analyzer-cplusplus.NewDeleteLeaks, |
| 8 | + -clang-analyzer-optin.performance.Padding, |
| 9 | + readability-*, |
| 10 | + -readability-identifier-naming, |
| 11 | + -readability-braces-around-statements, |
| 12 | + -readability-convert-member-functions-to-static, |
| 13 | + -readability-else-after-return, |
| 14 | + -readability-function-cognitive-complexity, |
| 15 | + -readability-inconsistent-ifelse-braces, |
| 16 | + -readability-identifier-length, |
| 17 | + -readability-implicit-bool-conversion, |
| 18 | + -readability-isolate-declaration, |
| 19 | + -readability-magic-numbers, |
| 20 | + -readability-make-member-function-const, |
| 21 | + -readability-math-missing-parentheses, |
| 22 | + -readability-named-parameter, |
| 23 | + -readability-qualified-auto, |
| 24 | + -readability-redundant-access-specifiers, |
| 25 | + -readability-simplify-boolean-expr, |
| 26 | + -readability-static-definition-in-anonymous-namespace, |
| 27 | + -readability-suspicious-call-argument, |
| 28 | + -readability-uppercase-literal-suffix, |
| 29 | + -readability-use-anyofallof, |
| 30 | + google-*, |
| 31 | + -google-readability-avoid-underscore-in-googletest-name, |
| 32 | + -google-readability-braces-around-statements, |
| 33 | + -google-readability-casting, |
| 34 | + -google-readability-todo, |
| 35 | + -google-runtime-references, |
| 36 | + -google-explicit-constructor, |
| 37 | + performance-*, |
| 38 | + -performance-enum-size, |
| 39 | + bugprone-*, |
| 40 | + -bugprone-branch-clone, |
| 41 | + -bugprone-easily-swappable-parameters, |
| 42 | + -bugprone-exception-escape, |
| 43 | + -bugprone-macro-parentheses, |
| 44 | + -bugprone-move-forwarding-reference, |
| 45 | + -bugprone-narrowing-conversions, |
| 46 | + -bugprone-suspicious-missing-comma, |
| 47 | + -bugprone-throwing-static-initialization, |
| 48 | + modernize-*, |
| 49 | + -modernize-avoid-bind, |
| 50 | + -modernize-avoid-c-arrays, |
| 51 | + -modernize-concat-nested-namespaces, |
| 52 | + -modernize-macro-to-enum, |
| 53 | + -modernize-pass-by-value, |
| 54 | + -modernize-raw-string-literal, |
| 55 | + -modernize-return-braced-init-list, |
| 56 | + -modernize-use-auto, |
| 57 | + -modernize-use-nodiscard, |
| 58 | + -modernize-use-trailing-return-type, |
| 59 | + -modernize-use-transparent-functors, |
| 60 | + misc-*, |
| 61 | + -misc-const-correctness, |
| 62 | + -misc-no-recursion, |
| 63 | + -misc-non-private-member-variables-in-classes, |
| 64 | + -misc-redundant-expression, |
| 65 | + -misc-unused-parameters, |
| 66 | + -misc-use-anonymous-namespace, |
| 67 | + -misc-use-internal-linkage, |
| 68 | + -misc-include-cleaner |
| 69 | +
|
| 70 | +# Only report diagnostics in headers under this tree (app/, include/sta/, build-generated |
| 71 | +# headers, etc.). |
| 72 | +# Excludes system and third-party paths such as /opt/local/include. |
| 73 | +HeaderFilterRegex: '.*/(app|cmake|dcalc|graph|liberty|network|parasitics|power|sdc|sdf|search|spice|tcl|util|verilog|include/sta|build/include/sta)/.*' |
| 74 | + |
| 75 | +# Bison-generated parser headers (build/{Liberty,Verilog,...}Parse.hh); gzstream (e.g. util/gzstream.hh). |
| 76 | +ExcludeHeaderFilterRegex: '.*/(gzstream\.h(?:h)?|(?:Liberty|Verilog|Sdf|Spef|Saif|LibExpr)Parse\.hh)$' |
| 77 | +FormatStyle: none |
0 commit comments