.clang-format-ignore
author Magnus Melin <mkmelin+mozilla@iki.fi>
Wed, 01 Jul 2020 16:15:43 +0300
changeset 39007 1aa86015cd87b30709412551835bf902025cd7d1
parent 38851 c7233f867599a9b416492e65d3104324f18cb156
child 40315 01687d952a8a7ad2b8324ad6aefba045bd761807
permissions -rw-r--r--
Bug 1648802 - Replace Thunderbird uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals.. r=sg compare https://phabricator.services.mozilla.com/D80861#change-Yu2oZ2Beo1MA # NS_LITERAL_CSTRING("foo") -> "foo"_ns find . -type f -not -path "*.hg/*" -not -path "third_party/*" -regex ".*\.\(c\|h\|cpp\|mm\)$" -exec sed -i -E 's/NS_LITERAL_CSTRING\("([^\)]+)"\)/"\1"_ns/g' {} \; # NS_LITERAL_STRING("foo") -> u"foo"_ns find . -type f -not -path "*.hg/*" -not -path "third_party/*" -regex ".*\.\(c\|h\|cpp\|mm\)$" -exec sed -i -E 's/NS_LITERAL_STRING\("([^\)]+)"\)/u"\1"_ns/g' {} \; + manual replacements at least in mailnews/imap/src/nsImapService.cpp mailnews/local/src/nsPop3Sink.cpp mailnews/extensions/fts3/src/nsFts3Tokenizer.cpp mailnews/base/test/TestMsgStripRE.cpp mailnews/base/util/nsMsgIncomingServer.cpp mailnews/base/util/nsMsgDBFolder.cpp mailnews/mime/src/mimemult.cpp mailnews/mime/src/mimethtm.cpp mailnews/compose/src/nsMsgCompose.cpp mailnews/import/text/src/nsTextImport.cpp mailnews/import/outlook/src/nsOutlookMail.cpp mailnews/import/winlivemail/nsWMUtils.cpp mailnews/import/becky/src/nsBeckyUtils.cpp mailnews/extensions/smime/src/nsCertPicker.cpp calendar/base/backend/libical/calUtils.cpp suite/components/shell/nsWindowsShellService.cpp mail/components/search/nsMailWinSearchHelper.cpp + clang-format

# Paths we don't want clang-format to touch.
# NOTE:
# This is currently just documenting intent. Due to Bug 1575449
# `mach clang-format` will likely not pick up this file.

# Specific modules to exclude.
calendar/libical/.*
suite/.*
third_party/.*

# General support directories (which don't contain any C++ anyway).
build/.*
mozharness/.*
python/.*
taskcluster/.*
tools/.*