1 # Uses the LLVM coding style
3 # The two templates cannot be formatted
4 config/gcc-stl-wrapper.template.h
5 config/msvc-stl-wrapper.template.h
7 intl/components/src/LocaleGenerated.cpp
8 js/src/builtin/intl/TimeZoneDataGenerated.h
10 # Don't want to reformat irregexp (third-party code)
11 js/src/irregexp/imported/.*
13 # Don't want to reformat zydis (third-party library subject to occasional updates).
16 # Don't want to reformat xsum (third-party code subject to occasional updates).
19 # Generated by js/src/util/make_unicode.py
20 js/src/util/Unicode.cpp
21 js/src/util/UnicodeNonBMP.h
23 # Ignored because of bug 1506117 & 1342657
24 layout/style/nsCSSAnonBoxList.h
25 layout/style/nsCSSCounterDescList.h
26 layout/style/nsCSSFontDescList.h
27 layout/style/nsCSSKeywordList.h
28 layout/style/nsCSSPseudoElementList.h
29 layout/style/nsCSSVisitedDependentPropList.h
30 layout/style/nsDOMCSSValueList.h
31 layout/style/nsStyleStructList.h
33 # Generated by protobuf
39 gfx/webrender_bindings/webrender_ffi_generated.h
40 intl/components/src/UnicodeScriptCodes.h
41 intl/unicharutil/util/nsSpecialCasingData.cpp
42 intl/unicharutil/util/nsUnicodePropertyData.cpp
43 media/mp4parse-rust/mp4parse.h
44 security/manager/ssl/StaticHPKPins.h
45 widget/gtk/wayland/gtk-primary-selection-client-protocol.h
46 widget/gtk/wayland/gtk-primary-selection-protocol.c
47 widget/gtk/wayland/primary-selection-unstable-v1-client-protocol.h
48 widget/gtk/wayland/primary-selection-unstable-v1-protocol.c
50 # Ignored because these files are used to generate a windows.h STL wrapper,
51 # and reformatting them can break generating that wrapper.
54 # Exclude tools/clang-tidy/test from automatic reformatting, since it can
55 # break some of the tests in that directory.
56 tools/clang-tidy/test/.*
58 # We are testing the incorrect formatting.
59 tools/lint/test/files/
61 # Contains an XML definition and formatting would break the layout
62 widget/gtk/MPRISInterfaceDescription.h
64 # The XPTCall stubs files have some inline assembly macros
65 # that get reformatted badly. See bug 1510781.
66 xpcom/reflect/xptcall/md/win32/.*
67 xpcom/reflect/xptcall/md/unix/.*
69 # Askama template code, which isn't valid C++ in its original form
70 toolkit/components/uniffi-bindgen-gecko-js/src/templates/.*
71 # Generated from that template code
72 toolkit/components/uniffi-js/UniFFIGeneratedScaffolding.cpp
73 toolkit/components/uniffi-js/UniFFIFixtureScaffolding.cpp
75 # Generated from ./tools/rewriting/ThirdPartyPaths.txt
76 # awk '{print ""$1".*"}' ./tools/rewriting/ThirdPartyPaths.txt
77 browser/extensions/mortar/ppapi/.*
78 devtools/client/shared/sourceeditor/codemirror/.*
79 devtools/client/shared/sourceeditor/codemirror6/.*
80 dom/canvas/test/webgl-conf/checkout/closure-library/.*
82 dom/media/gmp/widevine-adapter/content_decryption_module.h
83 dom/media/gmp/widevine-adapter/content_decryption_module_export.h
84 dom/media/gmp/widevine-adapter/content_decryption_module_ext.h
85 dom/media/gmp/widevine-adapter/content_decryption_module_proxy.h
86 dom/media/platforms/ffmpeg/ffmpeg57/.*
87 dom/media/platforms/ffmpeg/ffmpeg58/.*
88 dom/media/platforms/ffmpeg/ffmpeg59/.*
89 dom/media/platforms/ffmpeg/ffmpeg60/.*
90 dom/media/platforms/ffmpeg/ffmpeg61/.*
91 dom/media/platforms/ffmpeg/libav53/.*
92 dom/media/platforms/ffmpeg/libav54/.*
93 dom/media/platforms/ffmpeg/libav55/.*
94 dom/media/webrtc/transport/third_party/.*
95 dom/media/webspeech/recognition/endpointer.cc
96 dom/media/webspeech/recognition/endpointer.h
97 dom/media/webspeech/recognition/energy_endpointer.cc
98 dom/media/webspeech/recognition/energy_endpointer.h
99 dom/media/webspeech/recognition/energy_endpointer_params.cc
100 dom/media/webspeech/recognition/energy_endpointer_params.h
101 dom/webauthn/winwebauthn/webauthn.h
102 editor/libeditor/tests/browserscope/lib/richtext/.*
103 editor/libeditor/tests/browserscope/lib/richtext2/.*
104 extensions/spellcheck/hunspell/src/.*
115 gfx/vr/service/openvr/.*
116 gfx/vr/service/openvr/headers/openvr.h
117 gfx/vr/service/openvr/src/README
118 gfx/vr/service/openvr/src/dirtools_public.cpp
119 gfx/vr/service/openvr/src/dirtools_public.h
120 gfx/vr/service/openvr/src/envvartools_public.cpp
121 gfx/vr/service/openvr/src/envvartools_public.h
122 gfx/vr/service/openvr/src/hmderrors_public.cpp
123 gfx/vr/service/openvr/src/hmderrors_public.h
124 gfx/vr/service/openvr/src/ivrclientcore.h
125 gfx/vr/service/openvr/src/openvr_api_public.cpp
126 gfx/vr/service/openvr/src/pathtools_public.cpp
127 gfx/vr/service/openvr/src/pathtools_public.h
128 gfx/vr/service/openvr/src/sharedlibtools_public.cpp
129 gfx/vr/service/openvr/src/sharedlibtools_public.h
130 gfx/vr/service/openvr/src/strtools_public.cpp
131 gfx/vr/service/openvr/src/strtools_public.h
132 gfx/vr/service/openvr/src/vrpathregistry_public.cpp
133 gfx/vr/service/openvr/src/vrpathregistry_public.h
135 intl/hyphenation/hyphen/.*
138 ipc/chromium/src/third_party/.*
139 js/src/ctypes/libffi/.*
142 js/src/jit/arm64/vixl/.*
143 js/src/vtune/disable_warnings.h
144 js/src/vtune/ittnotify.h
145 js/src/vtune/ittnotify_config.h
146 js/src/vtune/ittnotify_static.c
147 js/src/vtune/ittnotify_static.h
148 js/src/vtune/ittnotify_types.h
149 js/src/vtune/jitprofiling.c
150 js/src/vtune/jitprofiling.h
151 js/src/vtune/legacy/.*
163 media/libsoundtouch/.*
164 media/libspeex_resampler/.*
171 media/webrtc/signaling/src/sdp/sipcc/.*
172 media/webrtc/trunk/.*
173 mfbt/double-conversion/double-conversion/.*
174 mobile/android/geckoview/src/thirdparty/.*
180 modules/woff2/include/.*
182 modules/xz-embedded/.*
184 mozglue/misc/decimal/.*
185 mozglue/static/lz4/.*
186 mozglue/tests/glibc_printf_tests/.*
187 netwerk/dns/nsIDNKitInterface.h
194 security/sandbox/chromium/.*
195 security/sandbox/chromium-shim/.*
196 testing/gtest/gmock/.*
197 testing/gtest/gtest/.*
198 testing/talos/talos/tests/dromaeo/.*
199 testing/talos/talos/tests/kraken/.*
200 testing/talos/talos/tests/v8_7/.*
201 testing/web-platform/tests/resources/webidl2/.*
202 testing/web-platform/tests/tools/third_party/.*
204 toolkit/components/jsoncpp/.*
205 toolkit/components/protobuf/.*
206 toolkit/components/translation/cld2/.*
207 toolkit/components/url-classifier/chromium/.*
208 toolkit/components/url-classifier/protobuf/.*
209 toolkit/crashreporter/breakpad-client/.*
210 toolkit/crashreporter/google-breakpad/.*
211 tools/fuzzing/libfuzzer/.*
212 tools/profiler/core/vtune/.*
213 # tools/profiler/public/GeckoTraceEvent.h is a modified vendored copy
214 tools/profiler/public/GeckoTraceEvent.h
215 xpcom/build/mach_override.c
216 xpcom/build/mach_override.h