Bug 1319396 - Update the list of checkers in the .clang-tidy file r?ehsan draft
authorSylvestre Ledru <sledru@mozilla.com>
Tue, 22 Nov 2016 12:30:19 +0100
changeset 442368 6de5b2058b555ec9a8b61327529932102e3ed05c
parent 442366 ee176d51e4a0ce8d7885a992ec3fbe167301ed33
child 537787 1628fc65a789a262642f373cf24346f3a87b1ad5
push id36690
push usersledru@mozilla.com
push dateTue, 22 Nov 2016 11:30:53 +0000
reviewersehsan
bugs1319396
milestone53.0a1
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'
+