Bug 1422363 - Enable readability-static-accessed-through-instance in the static analysis r?andi draft
authorSylvestre Ledru <sledru@mozilla.com>
Fri, 01 Dec 2017 19:12:49 +0100
changeset 706346 db894c5162432514ef1bc569cb7c2d3c1d8a4ddd
parent 706156 fd4a422f41cfafdf07d78c5dca206498a5fa7b5e
child 706681 66ac893403f9b5ab559adac19fc69d02062fc2ba
push id91776
push userbmo:sledru@mozilla.com
push dateFri, 01 Dec 2017 18:22:10 +0000
reviewersandi
bugs1422363
milestone59.0a1
Bug 1422363 - Enable readability-static-accessed-through-instance in the static analysis r?andi MozReview-Commit-ID: H65g81ZCSfp
tools/clang-tidy/config.yaml
--- a/tools/clang-tidy/config.yaml
+++ b/tools/clang-tidy/config.yaml
@@ -48,16 +48,18 @@ clang_checkers:
  - 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
+ - name: readability-static-accessed-through-instance
+   publish: !!bool yes
  - 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