Bug 1411960 - Enable modernize-avoid-bind to recommend using lambda instead of std::bind r=andi
authorSylvestre Ledru <sledru@mozilla.com>
Thu, 26 Oct 2017 15:09:54 +0200
changeset 388425 fda626dee95119de759b0f372f2bce837a9cf1e6
parent 388424 8c3b1c45afa6c27ee10c7697d2fad370afdf3d4e
child 388426 15cf4e532ae8bbec4cd6af8230747a3468e3fe08
push id32750
push userarchaeopteryx@coole-files.de
push dateThu, 26 Oct 2017 21:56:27 +0000
treeherdermozilla-central@a6d7be4ac1e3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersandi
bugs1411960
milestone58.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1411960 - Enable modernize-avoid-bind to recommend using lambda instead of std::bind r=andi MozReview-Commit-ID: C9bOP9SxFan
tools/clang-tidy/config.yaml
--- a/tools/clang-tidy/config.yaml
+++ b/tools/clang-tidy/config.yaml
@@ -11,16 +11,18 @@ clang_checkers:
  - name: clang-analyzer-security.*
    publish: !!bool no
  - name: misc-assert-side-effect
    publish: !!bool yes
  - name: misc-suspicious-missing-comma
    publish: !!bool yes
  - name: misc-suspicious-semicolon
    publish: !!bool yes
+ - name: modernize-avoid-bind
+   publish: !!bool yes
  - 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