Bug 1510478 - Disable clang-formatting for XPTCall stub files. r=Ehsan

Many of the inline assembly macros in these files get reformatted
poorly by clang-format, so don't format them for now. In followup
work, in bug 1510781, hopefully we can write a larger patch to only
disable clang-format for the specific macros and then format the rest
of the files.

The problematic include STUB_ENTRY and STUB_MANGLED_ENTRY.

Differential Revision: https://phabricator.services.mozilla.com/D13311

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Andrew McCreight 2018-11-28 21:26:43 +00:00
Родитель b8e492eeff
Коммит 7981e427c9
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -49,6 +49,11 @@ intl/unicharutil/util/nsUnicodePropertyData.cpp
intl/unicharutil/util/nsUnicodeScriptCodes.h
media/mp4parse-rust/mp4parse.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/.*