Backed out changeset 2d88daa2e4bc (bug 1899848) for conflicting with the backout...
[gecko.git] / .clang-format-ignore
blob3574908bf4b09810c4a81ec9ee7c85f5ebc4e18a
1 # Uses the LLVM coding style
2 build/clang-plugin/.*
3 # The two templates cannot be formatted
4 config/gcc-stl-wrapper.template.h
5 config/msvc-stl-wrapper.template.h
6 # Generated code
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).
14 js/src/zydis/.*
16 # Generated by js/src/util/make_unicode.py
17 js/src/util/Unicode.cpp
18 js/src/util/UnicodeNonBMP.h
20 # Ignored because of bug 1506117 & 1342657
21 layout/style/nsCSSAnonBoxList.h
22 layout/style/nsCSSCounterDescList.h
23 layout/style/nsCSSFontDescList.h
24 layout/style/nsCSSKeywordList.h
25 layout/style/nsCSSPseudoElementList.h
26 layout/style/nsCSSVisitedDependentPropList.h
27 layout/style/nsDOMCSSValueList.h
28 layout/style/nsStyleStructList.h
30 # Generated by protobuf
31 .*/.*.pb.h
32 .*/.*.pb.cc
34 # Autogenerated file
35 gfx/gl/GLConsts.h
36 gfx/webrender_bindings/webrender_ffi_generated.h
37 intl/components/src/UnicodeScriptCodes.h
38 intl/unicharutil/util/nsSpecialCasingData.cpp
39 intl/unicharutil/util/nsUnicodePropertyData.cpp
40 media/mp4parse-rust/mp4parse.h
41 security/manager/ssl/StaticHPKPins.h
42 widget/gtk/wayland/gtk-primary-selection-client-protocol.h
43 widget/gtk/wayland/gtk-primary-selection-protocol.c
44 widget/gtk/wayland/primary-selection-unstable-v1-client-protocol.h
45 widget/gtk/wayland/primary-selection-unstable-v1-protocol.c
47 # Ignored because these files are used to generate a windows.h STL wrapper,
48 # and reformatting them can break generating that wrapper.
49 config/windows-h-.*.h
51 # Exclude tools/clang-tidy/test from automatic reformatting, since it can
52 # break some of the tests in that directory.
53 tools/clang-tidy/test/.*
55 # We are testing the incorrect formatting.
56 tools/lint/test/files/
58 # Contains an XML definition and formatting would break the layout
59 widget/gtk/MPRISInterfaceDescription.h
61 # The XPTCall stubs files have some inline assembly macros
62 # that get reformatted badly. See bug 1510781.
63 xpcom/reflect/xptcall/md/win32/.*
64 xpcom/reflect/xptcall/md/unix/.*
66 # Askama template code, which isn't valid C++ in its original form
67 toolkit/components/uniffi-bindgen-gecko-js/src/templates/.*
68 # Generated from that template code
69 toolkit/components/uniffi-js/UniFFIGeneratedScaffolding.cpp
70 toolkit/components/uniffi-js/UniFFIFixtureScaffolding.cpp
72 # Generated from ./tools/rewriting/ThirdPartyPaths.txt
73 # awk '{print ""$1".*"}' ./tools/rewriting/ThirdPartyPaths.txt
74 browser/extensions/mortar/ppapi/.*
75 devtools/client/shared/sourceeditor/codemirror/.*
76 devtools/client/shared/sourceeditor/codemirror6/.*
77 dom/canvas/test/webgl-conf/checkout/closure-library/.*
78 dom/media/gmp/rlz/.*
79 dom/media/gmp/widevine-adapter/content_decryption_module.h
80 dom/media/gmp/widevine-adapter/content_decryption_module_export.h
81 dom/media/gmp/widevine-adapter/content_decryption_module_ext.h
82 dom/media/gmp/widevine-adapter/content_decryption_module_proxy.h
83 dom/media/platforms/ffmpeg/ffmpeg57/.*
84 dom/media/platforms/ffmpeg/ffmpeg58/.*
85 dom/media/platforms/ffmpeg/ffmpeg59/.*
86 dom/media/platforms/ffmpeg/ffmpeg60/.*
87 dom/media/platforms/ffmpeg/ffmpeg61/.*
88 dom/media/platforms/ffmpeg/libav53/.*
89 dom/media/platforms/ffmpeg/libav54/.*
90 dom/media/platforms/ffmpeg/libav55/.*
91 dom/media/webrtc/transport/third_party/.*
92 dom/media/webspeech/recognition/endpointer.cc
93 dom/media/webspeech/recognition/endpointer.h
94 dom/media/webspeech/recognition/energy_endpointer.cc
95 dom/media/webspeech/recognition/energy_endpointer.h
96 dom/media/webspeech/recognition/energy_endpointer_params.cc
97 dom/media/webspeech/recognition/energy_endpointer_params.h
98 dom/webauthn/winwebauthn/webauthn.h
99 editor/libeditor/tests/browserscope/lib/richtext/.*
100 editor/libeditor/tests/browserscope/lib/richtext2/.*
101 extensions/spellcheck/hunspell/src/.*
102 gfx/angle/.*
103 gfx/cairo/.*
104 gfx/graphite2/.*
105 gfx/harfbuzz/.*
106 gfx/ots/src/.*
107 gfx/ots/include/.*
108 gfx/ots/tests/.*
109 gfx/qcms/.*
110 gfx/sfntly/.*
111 gfx/skia/.*
112 gfx/vr/service/openvr/.*
113 gfx/vr/service/openvr/headers/openvr.h
114 gfx/vr/service/openvr/src/README
115 gfx/vr/service/openvr/src/dirtools_public.cpp
116 gfx/vr/service/openvr/src/dirtools_public.h
117 gfx/vr/service/openvr/src/envvartools_public.cpp
118 gfx/vr/service/openvr/src/envvartools_public.h
119 gfx/vr/service/openvr/src/hmderrors_public.cpp
120 gfx/vr/service/openvr/src/hmderrors_public.h
121 gfx/vr/service/openvr/src/ivrclientcore.h
122 gfx/vr/service/openvr/src/openvr_api_public.cpp
123 gfx/vr/service/openvr/src/pathtools_public.cpp
124 gfx/vr/service/openvr/src/pathtools_public.h
125 gfx/vr/service/openvr/src/sharedlibtools_public.cpp
126 gfx/vr/service/openvr/src/sharedlibtools_public.h
127 gfx/vr/service/openvr/src/strtools_public.cpp
128 gfx/vr/service/openvr/src/strtools_public.h
129 gfx/vr/service/openvr/src/vrpathregistry_public.cpp
130 gfx/vr/service/openvr/src/vrpathregistry_public.h
131 gfx/ycbcr/.*
132 intl/hyphenation/hyphen/.*
133 intl/icu/.*
134 intl/icu_capi/.*
135 ipc/chromium/src/third_party/.*
136 js/src/ctypes/libffi/.*
137 js/src/dtoa.c.*
138 js/src/editline/.*
139 js/src/jit/arm64/vixl/.*
140 js/src/vtune/disable_warnings.h
141 js/src/vtune/ittnotify.h
142 js/src/vtune/ittnotify_config.h
143 js/src/vtune/ittnotify_static.c
144 js/src/vtune/ittnotify_static.h
145 js/src/vtune/ittnotify_types.h
146 js/src/vtune/jitprofiling.c
147 js/src/vtune/jitprofiling.h
148 js/src/vtune/legacy/.*
149 media/ffvpx/.*
150 media/kiss_fft/.*
151 media/libaom/.*
152 media/libcubeb/.*
153 media/libdav1d/.*
154 media/libjpeg/.*
155 media/libmkv/.*
156 media/libnestegg/.*
157 media/libogg/.*
158 media/libopus/.*
159 media/libpng/.*
160 media/libsoundtouch/.*
161 media/libspeex_resampler/.*
162 media/libtheora/.*
163 media/libtremor/.*
164 media/libvorbis/.*
165 media/libvpx/.*
166 media/libwebp/.*
167 media/libyuv/.*
168 media/mozva/va/.*
169 media/openmax_dl/.*
170 media/openmax_il/.*
171 media/webrtc/signaling/src/sdp/sipcc/.*
172 media/webrtc/trunk/.*
173 mfbt/double-conversion/double-conversion/.*
174 mfbt/lz4/.*
175 mobile/android/geckoview/src/thirdparty/.*
176 modules/brotli/.*
177 modules/fdlibm/.*
178 modules/freetype2/.*
179 modules/libbz2/.*
180 modules/pdfium/.*
181 modules/woff2/include/.*
182 modules/woff2/src/.*
183 modules/xz-embedded/.*
184 modules/zlib/.*
185 mozglue/misc/decimal/.*
186 mozglue/tests/glibc_printf_tests/.*
187 netwerk/dns/nsIDNKitInterface.h
188 netwerk/sctp/src/.*
189 netwerk/srtp/src/.*
190 nsprpub/.*
191 other-licenses/.*
192 parser/expat/.*
193 security/nss/.*
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/.*
203 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
217 xpcom/io/crc32c.c