Bug 1437891 - Enable readability-redundant-string-cstr & readability-redundant-string-init checkers r?andi draft
authorSylvestre Ledru <sledru@mozilla.com>
Tue, 13 Feb 2018 16:23:29 +0100
changeset 754447 e7d56d69ca3f3561b2acb34965c993d3fbc9c441
parent 754446 fcf4689910b9dc524d1acca218f703e3a2be765f
push id98871
push userbmo:sledru@mozilla.com
push dateTue, 13 Feb 2018 15:26:08 +0000
reviewersandi
bugs1437891
milestone60.0a1
Bug 1437891 - Enable readability-redundant-string-cstr & readability-redundant-string-init checkers r?andi MozReview-Commit-ID: 1QliseFa1mC
tools/clang-tidy/config.yaml
--- a/tools/clang-tidy/config.yaml
+++ b/tools/clang-tidy/config.yaml
@@ -66,16 +66,20 @@ 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-redundant-string-cstr
+   publish: !!bool yes
+ - name: readability-redundant-string-init
+   publish: !!bool yes
  - 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