tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

.clang-format-ignore (6711B)


      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
      9 
     10 # Don't want to reformat irregexp (third-party code)
     11 js/src/irregexp/imported/.*
     12 
     13 # Don't want to reformat zydis (third-party library subject to occasional updates).
     14 js/src/zydis/.*
     15 
     16 # Don't want to reformat xsum (third-party code subject to occasional updates).
     17 js/src/xsum/.*
     18 
     19 # Generated by js/src/util/make_unicode.py
     20 js/src/util/Unicode.cpp
     21 js/src/util/UnicodeNonBMP.h
     22 
     23 # Ignored because of bug 1506117 & 1342657
     24 layout/style/nsCSSAnonBoxList.h
     25 layout/style/nsCSSCounterDescList.h
     26 layout/style/nsCSSFontDescList.h
     27 layout/style/nsCSSPseudoElementList.h
     28 layout/style/nsCSSVisitedDependentPropList.h
     29 layout/style/nsDOMCSSValueList.h
     30 layout/style/nsStyleStructList.h
     31 
     32 # Generated by protobuf
     33 .*/.*.pb.h
     34 .*/.*.pb.cc
     35 
     36 # Autogenerated file
     37 gfx/gl/GLConsts.h
     38 gfx/webrender_bindings/webrender_ffi_generated.h
     39 intl/components/src/UnicodeScriptCodes.h
     40 intl/unicharutil/util/nsSpecialCasingData.cpp
     41 intl/unicharutil/util/nsUnicodePropertyData.cpp
     42 media/mp4parse-rust/mp4parse.h
     43 security/ct/CTKnownLogs.h
     44 security/manager/ssl/StaticHPKPins.h
     45 
     46 # Ignored because these files are used to generate a windows.h STL wrapper,
     47 # and reformatting them can break generating that wrapper.
     48 config/windows-h-.*.h
     49 
     50 # Exclude tools/clang-tidy/test from automatic reformatting, since it can
     51 # break some of the tests in that directory.
     52 tools/clang-tidy/test/.*
     53 
     54 # We are testing the incorrect formatting.
     55 tools/lint/test/files/
     56 
     57 # Contains an XML definition and formatting would break the layout
     58 widget/gtk/MPRISInterfaceDescription.h
     59 
     60 # The XPTCall stubs files have some inline assembly macros
     61 # that get reformatted badly. See bug 1510781.
     62 xpcom/reflect/xptcall/md/win32/.*
     63 xpcom/reflect/xptcall/md/unix/.*
     64 
     65 # Askama template code, which isn't valid C++ in its original form
     66 toolkit/components/uniffi-bindgen-gecko-js/src/templates/.*
     67 # Generated from that template code
     68 toolkit/components/uniffi-js/GeneratedScaffolding.cpp
     69 
     70 # Generated from ./tools/rewriting/ThirdPartyPaths.txt
     71 # awk '{print ""$1".*"}' ./tools/rewriting/ThirdPartyPaths.txt
     72 browser/extensions/mortar/ppapi/.*
     73 devtools/client/shared/sourceeditor/codemirror/.*
     74 devtools/client/shared/sourceeditor/codemirror6/.*
     75 dom/canvas/test/webgl-conf/checkout/closure-library/.*
     76 dom/media/gmp/rlz/.*
     77 dom/media/gmp/widevine-adapter/content_decryption_module.h
     78 dom/media/gmp/widevine-adapter/content_decryption_module_export.h
     79 dom/media/gmp/widevine-adapter/content_decryption_module_ext.h
     80 dom/media/platforms/ffmpeg/ffmpeg57/.*
     81 dom/media/platforms/ffmpeg/ffmpeg58/.*
     82 dom/media/platforms/ffmpeg/ffmpeg59/.*
     83 dom/media/platforms/ffmpeg/ffmpeg60/.*
     84 dom/media/platforms/ffmpeg/ffmpeg61/.*
     85 dom/media/platforms/ffmpeg/ffmpeg62/.*
     86 dom/media/platforms/ffmpeg/libav53/.*
     87 dom/media/platforms/ffmpeg/libav54/.*
     88 dom/media/platforms/ffmpeg/libav55/.*
     89 dom/media/webrtc/transport/third_party/.*
     90 dom/media/webspeech/recognition/endpointer.cc
     91 dom/media/webspeech/recognition/endpointer.h
     92 dom/media/webspeech/recognition/energy_endpointer.cc
     93 dom/media/webspeech/recognition/energy_endpointer.h
     94 dom/media/webspeech/recognition/energy_endpointer_params.cc
     95 dom/media/webspeech/recognition/energy_endpointer_params.h
     96 dom/webauthn/winwebauthn/webauthn.h
     97 editor/libeditor/tests/browserscope/lib/richtext/.*
     98 editor/libeditor/tests/browserscope/lib/richtext2/.*
     99 extensions/spellcheck/hunspell/src/.*
    100 gfx/angle/.*
    101 gfx/cairo/.*
    102 gfx/graphite2/.*
    103 gfx/harfbuzz/.*
    104 gfx/ots/src/.*
    105 gfx/ots/include/.*
    106 gfx/ots/tests/.*
    107 gfx/qcms/.*
    108 gfx/sfntly/.*
    109 gfx/skia/.*
    110 gfx/vr/service/openvr/.*
    111 gfx/vr/service/openvr/headers/openvr.h
    112 gfx/vr/service/openvr/src/README
    113 gfx/vr/service/openvr/src/dirtools_public.cpp
    114 gfx/vr/service/openvr/src/dirtools_public.h
    115 gfx/vr/service/openvr/src/envvartools_public.cpp
    116 gfx/vr/service/openvr/src/envvartools_public.h
    117 gfx/vr/service/openvr/src/hmderrors_public.cpp
    118 gfx/vr/service/openvr/src/hmderrors_public.h
    119 gfx/vr/service/openvr/src/ivrclientcore.h
    120 gfx/vr/service/openvr/src/openvr_api_public.cpp
    121 gfx/vr/service/openvr/src/pathtools_public.cpp
    122 gfx/vr/service/openvr/src/pathtools_public.h
    123 gfx/vr/service/openvr/src/sharedlibtools_public.cpp
    124 gfx/vr/service/openvr/src/sharedlibtools_public.h
    125 gfx/vr/service/openvr/src/strtools_public.cpp
    126 gfx/vr/service/openvr/src/strtools_public.h
    127 gfx/vr/service/openvr/src/vrpathregistry_public.cpp
    128 gfx/vr/service/openvr/src/vrpathregistry_public.h
    129 gfx/ycbcr/.*
    130 intl/hyphenation/hyphen/.*
    131 intl/icu/.*
    132 intl/icu_capi/.*
    133 ipc/chromium/src/third_party/.*
    134 js/src/ctypes/libffi/.*
    135 js/src/dtoa.c.*
    136 js/src/editline/.*
    137 js/src/jit/arm64/vixl/.*
    138 js/src/vtune/disable_warnings.h
    139 js/src/vtune/ittnotify.h
    140 js/src/vtune/ittnotify_config.h
    141 js/src/vtune/ittnotify_static.c
    142 js/src/vtune/ittnotify_static.h
    143 js/src/vtune/ittnotify_types.h
    144 js/src/vtune/jitprofiling.c
    145 js/src/vtune/jitprofiling.h
    146 js/src/vtune/legacy/.*
    147 media/ffvpx/.*
    148 media/kiss_fft/.*
    149 media/libaom/.*
    150 media/libcubeb/.*
    151 media/libdav1d/.*
    152 media/libjpeg/.*
    153 media/libmkv/.*
    154 media/libnestegg/.*
    155 media/libogg/.*
    156 media/libopus/.*
    157 media/libpng/.*
    158 media/libsoundtouch/.*
    159 media/libspeex_resampler/.*
    160 media/libvorbis/.*
    161 media/libvpx/.*
    162 media/libwebp/.*
    163 media/libyuv/.*
    164 media/mozva/va/.*
    165 media/openmax_il/.*
    166 media/webrtc/signaling/src/sdp/sipcc/.*
    167 media/webrtc/trunk/.*
    168 mfbt/double-conversion/double-conversion/.*
    169 mobile/android/geckoview/src/thirdparty/.*
    170 modules/brotli/.*
    171 modules/fdlibm/.*
    172 modules/freetype2/.*
    173 modules/libbz2/.*
    174 modules/pdfium/.*
    175 modules/woff2/include/.*
    176 modules/woff2/src/.*
    177 modules/xz-embedded/.*
    178 modules/zlib/.*
    179 mozglue/misc/decimal/.*
    180 mozglue/static/lz4/.*
    181 mozglue/tests/glibc_printf_tests/.*
    182 netwerk/sctp/src/.*
    183 netwerk/srtp/src/.*
    184 nsprpub/.*
    185 other-licenses/.*
    186 parser/expat/.*
    187 security/nss/.*
    188 security/sandbox/chromium/.*
    189 security/sandbox/chromium-shim/.*
    190 testing/gtest/gmock/.*
    191 testing/gtest/gtest/.*
    192 testing/talos/talos/tests/dromaeo/.*
    193 testing/talos/talos/tests/kraken/.*
    194 testing/talos/talos/tests/v8_7/.*
    195 testing/web-platform/tests/resources/webidl2/.*
    196 testing/web-platform/tests/tools/third_party/.*
    197 third_party/.*
    198 toolkit/components/jsoncpp/.*
    199 toolkit/components/protobuf/.*
    200 toolkit/components/translations/cld2/.*
    201 toolkit/components/url-classifier/chromium/.*
    202 toolkit/components/url-classifier/protobuf/.*
    203 toolkit/crashreporter/breakpad-client/.*
    204 toolkit/crashreporter/google-breakpad/.*
    205 tools/fuzzing/libfuzzer/.*
    206 tools/profiler/core/vtune/.*
    207 # tools/profiler/public/GeckoTraceEvent.h is a modified vendored copy
    208 tools/profiler/public/GeckoTraceEvent.h
    209 xpcom/build/mach_override.c
    210 xpcom/build/mach_override.h
    211 xpcom/io/crc32c.c