Bug 1437891 - Enable readability-redundant-string-cstr & readability-redundant-string-init checkers r?andi
MozReview-Commit-ID: 1QliseFa1mC
--- 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