gecko-dev/.clang-tidy
Ehsan Akhgari d155b722a1 Bug 1158656 - Add a .clang-tify file for misc-use-override; r=jrmuizel
My first attempt at using clang-tidy on the Mozilla code base.

For now we just enable the misc-use-override check, and specify the
KeepVirtual option that I have implemented for this check so that
it doesn't complain about usage of the virtual keyword alongside
override/final.
2016-11-22 11:15:42 +01:00

14 lines
460 B
YAML

# Checks run by clang-tidy over Mozilla code.
# NOTE: please request review from ehsan when changing this file.
# The following checks are currently enabled:
# * misc-use-override
# Adds missing override keywords, and removes override keywords if the final
# keyword is present as well.
Checks: '-*,misc-use-override'
CheckOptions:
# Don't touch the virtual keyword!
- key: misc-use-override.KeepVirtual
value: '1'