.clang-tidy
author Mike Hommey <mh+mozilla@glandium.org>
Wed, 01 Mar 2017 11:10:14 +0900
changeset 394515 bc2f8a0c7d9a6aa5d683b1826c6c2d40c4d7ef48
parent 369155 2e262535fc7358975b86240798c75cf624f39870
permissions -rw-r--r--
Bug 1343713 - Avoid mozconfig failures when clang-cl/msvc are not present. r=ted The `cd $PATH && pwd` pattern doesn't work when $PATH doesn't exist, so move them in a block only executed when the directory exists.

# Checks run by clang-tidy over Mozilla code.

# The following checks are currently enabled:
# * 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'