Bug 1496379 - [Static-Analysis][Clang-Tidy] Don't publish bugprone-multiple-statement-macro. r=janx
authorAndi-Bogdan Postelnicu <bpostelnicu@mozilla.com>
Thu, 04 Oct 2018 12:14:11 +0000
changeset 495522 af9e675d4b36fae47211dfec929593af3ae48e9a
parent 495521 cee4d0a7b2557b5df896c9fffb05eb001ad3fcff
child 495528 97208b5251d7e86cb4051711609b6236a944981e
child 495529 e994da668be67893a6decb206427bb916bd30a25
push id9984
push userffxbld-merge
push dateMon, 15 Oct 2018 21:07:35 +0000
treeherdermozilla-beta@183d27ea8570 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjanx
bugs1496379
milestone64.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 1496379 - [Static-Analysis][Clang-Tidy] Don't publish bugprone-multiple-statement-macro. r=janx Differential Revision: https://phabricator.services.mozilla.com/D7706
tools/clang-tidy/config.yaml
--- a/tools/clang-tidy/config.yaml
+++ b/tools/clang-tidy/config.yaml
@@ -27,16 +27,18 @@ clang_checkers:
   - name: bugprone-bool-pointer-implicit-conversion
   - name: bugprone-forward-declaration-namespace
   - name: bugprone-incorrect-roundings
   - name: bugprone-integer-division
   - name: bugprone-macro-parentheses
   - name: bugprone-macro-repeated-side-effects
   - name: bugprone-misplaced-widening-cast
   - name: bugprone-multiple-statement-macro
+    # Incompatible with our code base, see bug 1496379.
+    publish: !!bool no
   - name: bugprone-sizeof-expression
   - name: bugprone-string-constructor
   - name: bugprone-string-integer-assignment
   - name: bugprone-suspicious-memset-usage
   - name: bugprone-suspicious-missing-comma
   - name: bugprone-suspicious-semicolon
   - name: bugprone-suspicious-string-compare
   - name: bugprone-swapped-arguments