Bug 1319396 - Update the list of checkers in the .clang-tidy file r=Ehsan
authorSylvestre Ledru <sledru@mozilla.com>
Tue, 22 Nov 2016 12:30:19 +0100
changeset 369155 2e262535fc7358975b86240798c75cf624f39870
parent 369154 626c5d74b74cc7bcd3625f57d6df1929401ad971
child 369156 076d3bc7ff2320f5155518fa90f026d2efd77427
push id6996
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 20:48:21 +0000
treeherdermozilla-beta@d89512dab048 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersEhsan
bugs1319396
milestone53.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 1319396 - Update the list of checkers in the .clang-tidy file r=Ehsan MozReview-Commit-ID: 5WV2SgDuDC
.clang-tidy
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -1,6 +1,16 @@
 # Checks run by clang-tidy over Mozilla code.
 
 # The following checks are currently enabled:
-# * misc-use-override
-Checks:          '-*,misc-use-override'
+# * modernize-raw-string-literal -
+#     Replace string literals containing escaped characters with raw string literals
+# * modernize-use-bool-literals
+#     Replace integer literals which are cast to bool
+# * modernize-loop-convert
+#     Converts for(...; ...; ...) loops to use the new range-based loops in C++11
+# * modernize-use-default
+#     Replace default bodies of special member functions with = default;
+# * modernize-use-override
+#     Use C++11's override and remove virtual where applicable
 
+Checks:          '-*, modernize-raw-string-literal, modernize-use-bool-literals, modernize-loop-convert, modernize-use-default, modernize-use-override'
+