2017-09-30 14:54:58 +03:00
|
|
|
---
|
|
|
|
target: obj-x86_64-pc-linux-gnu
|
|
|
|
# It is used by 'mach static-analysis' and 'mozreview static-analysis bot'
|
|
|
|
# in order to have consistency across the used checkers.
|
|
|
|
# All the clang checks used by the static-analysis tools.
|
|
|
|
clang_checkers:
|
|
|
|
- name: -*
|
|
|
|
publish: !!bool no
|
2017-12-04 00:54:04 +03:00
|
|
|
- name: bugprone-forward-declaration-namespace
|
|
|
|
publish: !!bool yes
|
2017-09-30 14:54:58 +03:00
|
|
|
- name: clang-analyzer-deadcode.DeadStores
|
|
|
|
publish: !!bool yes
|
2018-01-16 15:43:05 +03:00
|
|
|
- name: clang-analyzer-security.FloatLoopCounter
|
|
|
|
publish: !!bool yes
|
|
|
|
- name: clang-analyzer-security.UncheckedReturn
|
|
|
|
publish: !!bool yes
|
|
|
|
- name: clang-analyzer-security.insecureAPI.getpw
|
|
|
|
publish: !!bool yes
|
|
|
|
- name: clang-analyzer-security.insecureAPI.gets
|
|
|
|
publish: !!bool yes
|
|
|
|
- name: clang-analyzer-security.insecureAPI.mkstemp
|
|
|
|
publish: !!bool yes
|
|
|
|
- name: clang-analyzer-security.insecureAPI.mktemp
|
|
|
|
publish: !!bool yes
|
|
|
|
- name: clang-analyzer-security.insecureAPI.rand
|
|
|
|
publish: !!bool yes
|
|
|
|
- name: clang-analyzer-security.insecureAPI.strcpy
|
2017-09-30 14:54:58 +03:00
|
|
|
publish: !!bool no
|
2018-01-16 15:43:05 +03:00
|
|
|
- name: clang-analyzer-security.insecureAPI.vfork
|
|
|
|
publish: !!bool yes
|
2017-11-09 14:03:27 +03:00
|
|
|
- name: misc-argument-comment
|
|
|
|
publish: !!bool yes
|
2017-09-30 14:54:58 +03:00
|
|
|
- name: misc-assert-side-effect
|
|
|
|
publish: !!bool yes
|
|
|
|
- name: misc-suspicious-missing-comma
|
|
|
|
publish: !!bool yes
|
|
|
|
- name: misc-suspicious-semicolon
|
|
|
|
publish: !!bool yes
|
2017-11-09 14:03:27 +03:00
|
|
|
- name: misc-unused-using-decls
|
|
|
|
publish: !!bool yes
|
2017-10-26 16:09:54 +03:00
|
|
|
- name: modernize-avoid-bind
|
|
|
|
publish: !!bool yes
|
2017-09-30 14:54:58 +03:00
|
|
|
- name: modernize-loop-convert
|
|
|
|
publish: !!bool yes
|
|
|
|
- name: modernize-raw-string-literal
|
|
|
|
publish: !!bool yes
|
|
|
|
- name: modernize-redundant-void-arg
|
|
|
|
publish: !!bool no
|
|
|
|
- name: modernize-shrink-to-fit
|
|
|
|
publish: !!bool yes
|
|
|
|
- name: modernize-use-equals-default
|
|
|
|
publish: !!bool yes
|
|
|
|
- name: modernize-use-equals-delete
|
|
|
|
publish: !!bool yes
|
|
|
|
- name: modernize-use-nullptr
|
|
|
|
publish: !!bool yes
|
|
|
|
- name: modernize-use-override
|
2017-11-24 13:26:32 +03:00
|
|
|
# Too noisy because of the way how we implement NS_IMETHOD. See Bug 1420366.
|
|
|
|
publish: !!bool no
|
2017-09-30 14:54:58 +03:00
|
|
|
- name: mozilla-*
|
|
|
|
publish: !!bool yes
|
|
|
|
- name: performance-*
|
|
|
|
publish: !!bool yes
|
|
|
|
- name: readability-container-size-empty
|
|
|
|
publish: !!bool yes
|
|
|
|
- name: readability-else-after-return
|
|
|
|
publish: !!bool yes
|
|
|
|
- name: readability-misleading-indentation
|
|
|
|
publish: !!bool yes
|
|
|
|
- name: readability-redundant-control-flow
|
|
|
|
publish: !!bool yes
|
|
|
|
- name: readability-redundant-smartptr-get
|
|
|
|
publish: !!bool no
|
2018-02-13 18:23:29 +03:00
|
|
|
- name: readability-redundant-string-cstr
|
|
|
|
publish: !!bool yes
|
|
|
|
- name: readability-redundant-string-init
|
|
|
|
publish: !!bool yes
|
2017-12-01 21:12:49 +03:00
|
|
|
- name: readability-static-accessed-through-instance
|
|
|
|
publish: !!bool yes
|
2017-09-30 14:54:58 +03:00
|
|
|
- name: readability-uniqueptr-delete-release
|
|
|
|
publish: !!bool yes
|
|
|
|
- name: modernize-use-auto
|
|
|
|
# Controversial, see bug 1371052.
|
|
|
|
publish: !!bool no
|
|
|
|
- name: modernize-use-bool-literals
|
|
|
|
# Too noisy because of `while (0)` in many macros.
|
|
|
|
publish: !!bool no
|
|
|
|
|
|
|
|
# Third party files from mozilla-central
|
|
|
|
third_party: tools/rewriting/ThirdPartyPaths.txt
|