Bug 1511176 - Ignore the files used to generate the windows.h STL wrapper in clang-format r=sylvestre
authorEhsan Akhgari <ehsan@mozilla.com>
Thu, 29 Nov 2018 21:22:51 +0000
changeset 508073 9094a8f08747e68db0d406b2abd2fc993a3ce0d6
parent 508072 3c5a3bfe79a8ed743d9cac3fc8ea2d7b0c3664cf
child 508074 840ea0c4fbfedb6d965326354c0793895a678b03
push id1905
push userffxbld-merge
push dateMon, 21 Jan 2019 12:33:13 +0000
treeherdermozilla-release@c2fca1944d8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssylvestre
bugs1511176
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1511176 - Ignore the files used to generate the windows.h STL wrapper in clang-format r=sylvestre Not doing so causes builds to break. Differential Revision: https://phabricator.services.mozilla.com/D13469
.clang-format-ignore
--- a/.clang-format-ignore
+++ b/.clang-format-ignore
@@ -53,16 +53,20 @@ xpcom/tests/.*
 gfx/gl/GLConsts.h
 gfx/webrender_bindings/webrender_ffi_generated.h
 intl/unicharutil/util/nsUnicodePropertyData.cpp
 intl/unicharutil/util/nsUnicodeScriptCodes.h
 media/mp4parse-rust/mp4parse.h
 widget/gtk/wayland/gtk-primary-selection-client-protocol.h
 widget/gtk/wayland/gtk-primary-selection-protocol.c
 
+# Ignored because these files are used to generate a windows.h STL wrapper,
+# and reformatting them can break generating that wrapper.
+config/windows-h-.*.h
+
 # The XPTCall stubs files have some inline assembly macros
 # that get reformatted badly. See bug 1510781.
 xpcom/reflect/xptcall/md/win32/.*
 xpcom/reflect/xptcall/md/unix/.*
 
 # Generated from ./tools/rewriting/ThirdPartyPaths.txt
 # awk '{print ""$1".*"}' ./tools/rewriting/ThirdPartyPaths.txt
 browser/components/translation/cld2/.*