No bug - Add comments to explain why they are ignored by clang-format r=me DONTBUILD
authorSylvestre Ledru <sledru@mozilla.com>
Wed, 30 Aug 2017 18:53:35 +0200
changeset 416636 2749a844a9f3e091d1944edf3fd93245cb5e7d5e
parent 416635 a8369cf48aebbe56520e308e30d4ef82abaec4ce
child 416637 d9b405d82cffb07343a5f2fd941e029298c7f6c4
push id5
push userbugmail@asutherland.org
push dateSat, 23 Sep 2017 16:52:09 +0000
reviewersme
milestone57.0a1
No bug - Add comments to explain why they are ignored by clang-format r=me DONTBUILD MozReview-Commit-ID: B8fsjYiWzkm
.clang-format-ignore
--- a/.clang-format-ignore
+++ b/.clang-format-ignore
@@ -1,27 +1,32 @@
+# Uses the LLVM coding style
 ^build/clang-plugin/.*
+# The two templates cannot be formatted
 ^config/gcc-stl-wrapper.template.h
 ^config/msvc-stl-wrapper.template.h
 ^dom/base/test/.*
 ^dom/bindings/test/.*
 ^dom/media/gtest/.*
 ^gfx/testsd/.*
 ^image/test/.*
 ^ipc/ipdl/test/.*
 ^ipc/testshell/.*
 ^js/src/jsapi-tests/.*
+# Ignored because of bug 1342657
 ^layout/style/nsCSSPropAliasList.h
+# Ignored because of bug 1342657
 ^layout/style/nsCSSPropList.h
 ^media/mtransport/test/.*
 ^mfbt/tests/.*
 ^storage/test/.*
 ^testing/gtest/.*
 ^tools/profiler/tests/.*
 ^uriloader/exthandler/tests/.*
+# JNI code is generated
 ^widget/android/GeneratedJNINatives.h
 ^widget/android/GeneratedJNIWrappers.cpp
 ^widget/android/GeneratedJNIWrappers.h
 ^widget/android/fennec/FennecJNINatives.h
 ^widget/android/fennec/FennecJNIWrappers.cpp
 ^widget/android/fennec/FennecJNIWrappers.h
 ^widget/tests/.*
 ^xpcom/glue/tests/.*