mirror of
https://github.com/polybar/polybar.git
synced 2024-11-11 13:50:56 -05:00
56779a5902
* Return shared_ptr from eventloop * Add -Wdeprecated-copy-dtor warning Produces a warning if classes don't have explicit copy operations if they have a user-defined constructor. This helps us stick to the rule of 5 (kinda, no warnings for missing move operators). * Clean up eventloop * Fix compiler warnings * Fix fs_event_handle_t name
52 lines
1.9 KiB
YAML
52 lines
1.9 KiB
YAML
---
|
|
Checks: '
|
|
-*,
|
|
performance-*,
|
|
readability-*,
|
|
clang-analyzer-alpha.core*,
|
|
clang-analyzer-alpha.security*,
|
|
clang-analyzer-alpha.unix.cstring*,
|
|
clang-analyzer-core.uninitialized*,
|
|
clang-analyzer-cplusplus.*,
|
|
clang-analyzer-nullability*,
|
|
clang-analyzer-unix*,
|
|
cppcoreguidelines*,
|
|
modernize-use-*,
|
|
modernize-*,
|
|
-modernize-raw-string-literal,
|
|
-modernize-use-bool-literals,
|
|
-modernize-use-trailing-return-type,
|
|
-readability-identifier-length,
|
|
-readability-implicit-bool-cast,
|
|
-readability-else-after-return,
|
|
-readability-named-parameter,
|
|
-readability-implicit-bool-conversion,
|
|
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
|
|
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
|
|
-cppcoreguidelines-pro-type-vararg,
|
|
-cppcoreguidelines-pro-type-reinterpret-cast,
|
|
-cppcoreguidelines-pro-type-union-access,
|
|
-cppcoreguidelines-pro-type-cstyle-cast,
|
|
-cppcoreguidelines-pro-bounds-constant-array-index,
|
|
-cppcoreguidelines-owning-memory,
|
|
'
|
|
|
|
CheckOptions:
|
|
- key: modernize-loop-convert.NamingStyle
|
|
value: lower_case
|
|
- key: readability-identifier-naming.ClassCase
|
|
value: lower_case
|
|
- key: readability-identifier-naming.ClassConstantCase
|
|
value: UPPER_CASE
|
|
- key: readability-identifier-naming.ClassMethodCase
|
|
value: lower_case
|
|
- key: readability-identifier-naming.MemberCase
|
|
value: lower_case
|
|
- key: readability-identifier-naming.ProtectedMemberPrefix
|
|
value: 'm_'
|
|
- key: readability-identifier-naming.PrivateMemberPrefix
|
|
value: 'm_'
|
|
HeaderFilterRegex: ''
|
|
WarningsAsErrors: ''
|
|
AnalyzeTemporaryDtors: false
|
|
...
|