diff --git a/python/mozbuild/mozbuild/mach_commands.py b/python/mozbuild/mozbuild/mach_commands.py index 8827672dffb9..60710373e3b0 100644 --- a/python/mozbuild/mozbuild/mach_commands.py +++ b/python/mozbuild/mozbuild/mach_commands.py @@ -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'