Backed out changeset ce9c917d3e22 (bug 582361) for causing wpt failures on scroll...
[gecko.git] / .clang-format-ignore
blob68b577a0bf1b23e152abfe1615a89f7033de8686
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 dom/canvas/test/webgl-conf/checkout/closure-library/.*
77 dom/media/gmp/rlz/.*
78 dom/media/gmp/widevine-adapter/content_decryption_module.h
79 dom/media/gmp/widevine-adapter/content_decryption_module_export.h
80 dom/media/gmp/widevine-adapter/content_decryption_module_ext.h
81 dom/media/gmp/widevine-adapter/content_decryption_module_proxy.h
82 dom/media/platforms/ffmpeg/ffmpeg57/.*
83 dom/media/platforms/ffmpeg/ffmpeg58/.*
84 dom/media/platforms/ffmpeg/libav53/.*
85 dom/media/platforms/ffmpeg/libav54/.*
86 dom/media/platforms/ffmpeg/libav55/.*
87 dom/media/webrtc/transport/third_party/.*
88 dom/media/webspeech/recognition/endpointer.cc
89 dom/media/webspeech/recognition/endpointer.h
90 dom/media/webspeech/recognition/energy_endpointer.cc
91 dom/media/webspeech/recognition/energy_endpointer.h
92 dom/media/webspeech/recognition/energy_endpointer_params.cc
93 dom/media/webspeech/recognition/energy_endpointer_params.h
94 dom/webauthn/winwebauthn/webauthn.h
95 editor/libeditor/tests/browserscope/lib/richtext/.*
96 editor/libeditor/tests/browserscope/lib/richtext2/.*
97 extensions/spellcheck/hunspell/src/.*
98 gfx/angle/.*
99 gfx/cairo/.*
100 gfx/graphite2/.*
101 gfx/harfbuzz/.*
102 gfx/ots/src/.*
103 gfx/ots/include/.*
104 gfx/ots/tests/.*
105 gfx/qcms/.*
106 gfx/sfntly/.*
107 gfx/skia/.*
108 gfx/vr/service/openvr/.*
109 gfx/vr/service/openvr/headers/openvr.h
110 gfx/vr/service/openvr/src/README
111 gfx/vr/service/openvr/src/dirtools_public.cpp
112 gfx/vr/service/openvr/src/dirtools_public.h
113 gfx/vr/service/openvr/src/envvartools_public.cpp
114 gfx/vr/service/openvr/src/envvartools_public.h
115 gfx/vr/service/openvr/src/hmderrors_public.cpp
116 gfx/vr/service/openvr/src/hmderrors_public.h
117 gfx/vr/service/openvr/src/ivrclientcore.h
118 gfx/vr/service/openvr/src/openvr_api_public.cpp
119 gfx/vr/service/openvr/src/pathtools_public.cpp
120 gfx/vr/service/openvr/src/pathtools_public.h
121 gfx/vr/service/openvr/src/sharedlibtools_public.cpp
122 gfx/vr/service/openvr/src/sharedlibtools_public.h
123 gfx/vr/service/openvr/src/strtools_public.cpp
124 gfx/vr/service/openvr/src/strtools_public.h
125 gfx/vr/service/openvr/src/vrpathregistry_public.cpp
126 gfx/vr/service/openvr/src/vrpathregistry_public.h
127 gfx/ycbcr/.*
128 intl/hyphenation/hyphen/.*
129 intl/icu/.*
130 ipc/chromium/src/third_party/.*
131 js/src/ctypes/libffi/.*
132 js/src/dtoa.c.*
133 js/src/editline/.*
134 js/src/jit/arm64/vixl/.*
135 js/src/vtune/disable_warnings.h
136 js/src/vtune/ittnotify.h
137 js/src/vtune/ittnotify_config.h
138 js/src/vtune/ittnotify_static.c
139 js/src/vtune/ittnotify_static.h
140 js/src/vtune/ittnotify_types.h
141 js/src/vtune/jitprofiling.c
142 js/src/vtune/jitprofiling.h
143 js/src/vtune/legacy/.*
144 media/ffvpx/.*
145 media/kiss_fft/.*
146 media/libaom/.*
147 media/libcubeb/.*
148 media/libdav1d/.*
149 media/libjpeg/.*
150 media/libmkv/.*
151 media/libnestegg/.*
152 media/libogg/.*
153 media/libopus/.*
154 media/libpng/.*
155 media/libsoundtouch/.*
156 media/libspeex_resampler/.*
157 media/libtheora/.*
158 media/libtremor/.*
159 media/libvorbis/.*
160 media/libvpx/.*
161 media/libwebp/.*
162 media/libyuv/.*
163 media/mozva/va/.*
164 media/openmax_dl/.*
165 media/openmax_il/.*
166 media/webrtc/signaling/src/sdp/sipcc/.*
167 media/webrtc/trunk/.*
168 mfbt/double-conversion/double-conversion/.*
169 mfbt/lz4/.*
170 mobile/android/geckoview/src/thirdparty/.*
171 modules/brotli/.*
172 modules/fdlibm/.*
173 modules/freetype2/.*
174 modules/libbz2/.*
175 modules/pdfium/.*
176 modules/woff2/include/.*
177 modules/woff2/src/.*
178 modules/xz-embedded/.*
179 modules/zlib/.*
180 mozglue/misc/decimal/.*
181 mozglue/tests/glibc_printf_tests/.*
182 netwerk/dns/nsIDNKitInterface.h
183 netwerk/sctp/src/.*
184 netwerk/srtp/src/.*
185 nsprpub/.*
186 other-licenses/.*
187 parser/expat/.*
188 security/nss/.*
189 security/sandbox/chromium/.*
190 security/sandbox/chromium-shim/.*
191 testing/gtest/gmock/.*
192 testing/gtest/gtest/.*
193 testing/talos/talos/tests/dromaeo/.*
194 testing/talos/talos/tests/kraken/.*
195 testing/talos/talos/tests/v8_7/.*
196 testing/web-platform/tests/resources/webidl2/.*
197 testing/web-platform/tests/tools/third_party/.*
198 third_party/.*
199 toolkit/components/jsoncpp/.*
200 toolkit/components/protobuf/.*
201 toolkit/components/translation/cld2/.*
202 toolkit/components/url-classifier/chromium/.*
203 toolkit/components/url-classifier/protobuf/.*
204 toolkit/crashreporter/breakpad-client/.*
205 toolkit/crashreporter/google-breakpad/.*
206 tools/fuzzing/libfuzzer/.*
207 tools/profiler/core/vtune/.*
208 # tools/profiler/public/GeckoTraceEvent.h is a modified vendored copy
209 tools/profiler/public/GeckoTraceEvent.h
210 xpcom/build/mach_override.c
211 xpcom/build/mach_override.h
212 xpcom/io/crc32c.c