зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1510919 - Make mach clang-format support .cc files r=andi
Differential Revision: https://phabricator.services.mozilla.com/D13372 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
30da407018
Коммит
548cd8f122
|
@ -1648,7 +1648,7 @@ class StaticAnalysis(MachCommandBase):
|
|||
"""Utilities for running C++ static analysis checks and format."""
|
||||
|
||||
# List of file extension to consider (should start with dot)
|
||||
_format_include_extensions = ('.cpp', '.c', '.h', '.java')
|
||||
_format_include_extensions = ('.cpp', '.c', '.cc', '.h', '.java')
|
||||
# File contaning all paths to exclude from formatting
|
||||
_format_ignore_file = '.clang-format-ignore'
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче