mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-07 08:15:59 -10:00
* Make particles aware of the effect that spawned them * Allow modular curves to call global functions from submember inputs * Add more in and outputs for particle lifetime curves * Allow post-curve velocity as a curve input * fix warning and incorrect assig * Disable CheckTriviallyCopyableMove * Clang Tidy
55 lines
2.0 KiB
YAML
55 lines
2.0 KiB
YAML
---
|
|
Checks: "-*,\
|
|
modernize-*,\
|
|
-modernize-avoid-c-arrays,\
|
|
-modernize-make-unique,\
|
|
-modernize-raw-string-literal,\
|
|
-modernize-use-default-member-init,\
|
|
-modernize-use-nodiscard,\
|
|
-modernize-use-trailing-return-type,\
|
|
-modernize-use-using,\
|
|
performance-*,\
|
|
-performance-no-int-to-ptr,\
|
|
-performance-type-promotion-in-math-fn,\
|
|
misc-*,\
|
|
-misc-include-cleaner,\
|
|
-misc-macro-parentheses,\
|
|
-misc-misplaced-widening-cast,\
|
|
-misc-no-recursion,\
|
|
-misc-non-private-member-variables-in-classes,\
|
|
-misc-static-assert,\
|
|
-misc-unused-parameters,\
|
|
-misc-use-anonymous-namespace,\
|
|
readability-*,\
|
|
-readability-avoid-const-params-in-decls,\
|
|
-readability-else-after-return,\
|
|
-readability-function-cognitive-complexity,\
|
|
-readability-function-size,\
|
|
-readability-identifier-length,\
|
|
-readability-identifier-naming,\
|
|
-readability-implicit-bool-conversion,\
|
|
-readability-inconsistent-declaration-parameter-name,\
|
|
-readability-isolate-declaration,\
|
|
-readability-magic-numbers,\
|
|
-readability-named-parameter,\
|
|
-readability-qualified-auto,\
|
|
-readability-uppercase-literal-suffix,\
|
|
"
|
|
WarningsAsErrors: ''
|
|
HeaderFilterRegex: 'code/.*$|freespace2/.*$|qtfred/.*$|test/src/.*$|build/.*$'
|
|
CheckOptions:
|
|
- key: 'misc-assert-side-effect.AssertMacros'
|
|
value: 'assert,Assert,Assertion'
|
|
- key: 'misc-const-correctness.AnalyzeValues'
|
|
value: 'false'
|
|
- key: 'misc-const-correctness.TransformValues'
|
|
value: 'false'
|
|
- key: 'modernize-use-emplace.ContainersWithPushBack'
|
|
value: 'std::vector;std::deque;std::list;SCP_vector;SCP_deque;SCP_list'
|
|
- key: 'readability-braces-around-statements.ShortStatementLines'
|
|
value: '4' # Avoid flagging simple if (...) return false; statements
|
|
- key: 'performance-move-const-arg.CheckTriviallyCopyableMove' # This isn't actually performance relevant, but using move on trivially copyable types can well indicate that the variable should not be used anymore, such as when passing a builder type to the finialization function
|
|
value: 'false'
|
|
...
|
|
|