mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 18:26:15 +00:00
d155b722a1
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.
14 lines
460 B
YAML
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'
|
|
|