office-gobmx/compilerplugins/clang
Mike Kaganski bd96a6f7b7 Don't rely on Python's treatment of unrecognized escape sequences
According to [1]:

> Changed in version 3.6: Unrecognized escape sequences produce a DeprecationWarning.
> In a future Python version they will be a SyntaxWarning and eventually a SyntaxError.

[1] https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals

Change-Id: Ia4f79f17ccb121f423f35b1e1306d5ae285e8762
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98321
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-07-13 22:23:44 +02:00
..
sharedvisitor New loplugin:elidestringvar 2020-06-07 20:00:02 +02:00
store replace usage of whitelist with allowlist 2020-07-10 01:36:07 +02:00
test replace usage of whitelist with allowlist 2020-07-10 01:36:07 +02:00
automem.cxx
badstatics.cxx notebookbar: allow to create multiple instances for online 2020-07-03 09:50:28 +02:00
blockblock.cxx
bufferadd.cxx replace usage of whitelist with allowlist 2020-07-10 01:36:07 +02:00
buriedassign.cxx loplugin:buriedassign in sw 2020-06-10 20:43:38 +02:00
casttovoid.cxx
changetoolsgen.cxx
charrightshift.cxx
check.cxx Improved loplugin:staticanonymous -> redundantstatic 2020-07-02 23:27:05 +02:00
check.hxx Improved loplugin:staticanonymous -> redundantstatic 2020-07-02 23:27:05 +02:00
checkconfigmacros.cxx Adapt to "[ADT] Make StringRef's std::string conversion operator explicit" 2020-01-29 14:14:04 +01:00
checkunusedparams.cxx
classmemaccess.cxx
collapseif.cxx
commaoperator.cxx
comparisonwithconstant.cxx Fix typo 2020-02-07 14:53:36 +01:00
compat.hxx Adapt to changed clang::ASTContext::getParents behavior on Clang 11 trunk 2020-05-25 20:40:25 +02:00
conditionalstring.cxx
constantparam.bitmask.results loplugin:constantparam 2020-07-01 08:31:53 +02:00
constantparam.booleans.results loplugin:constantparam 2020-07-01 08:31:53 +02:00
constantparam.constructors.results loplugin:constantparam 2020-07-01 08:31:53 +02:00
constantparam.cxx Get rid of some unnecessary llvm::StringRef -> std::string conversions 2020-02-13 11:24:43 +01:00
constantparam.numbers.results loplugin:constantparam 2020-07-01 08:31:53 +02:00
constantparam.py Don't rely on Python's treatment of unrecognized escape sequences 2020-07-13 22:23:44 +02:00
constfields.cxx Adapt to changed clang::ASTContext::getParents behavior on Clang 11 trunk 2020-05-25 20:40:25 +02:00
constfields.py
constfieldsrewrite.cxx
constmethod.cxx Adapt to changed clang::ASTContext::getParents behavior on Clang 11 trunk 2020-05-25 20:40:25 +02:00
constparams.cxx Adapt to changed clang::ASTContext::getParents behavior on Clang 11 trunk 2020-05-25 20:40:25 +02:00
conststringvar.cxx Fix loplugin:conststringvar 2020-02-16 14:17:12 +01:00
consttobool.cxx
constvars.cxx Adapt to changed clang::ASTContext::getParents behavior on Clang 11 trunk 2020-05-25 20:40:25 +02:00
convertlong.cxx
countusersofdefaultparams.cxx
countusersofdefaultparams.py
cppunitassertequals.cxx Silence loplugin:cppunitassertequals when comparing pointer against nullptr 2020-04-28 13:39:01 +02:00
cstylecast.cxx Extend loplugin:cstylecast to certain function-style casts 2020-03-26 09:13:55 +01:00
data.cxx
datamembershadow.cxx
dbgunhandledexception.cxx
derefnullptr.cxx
dllprivate.cxx
dodgyswitch.cxx
doubleconvert.cxx
duplicate-defines.cxx Silence loplugin:duplicatedefines for WIN32_LEAN_AND_MEAN (clang-cl) 2020-02-03 23:39:47 +01:00
dyncastvisibility.cxx
dynexcspec.cxx
elidestringvar.cxx Improve loplugin:elidestringvar 2020-06-26 17:31:53 +02:00
empty.cxx
emptyif.cxx
expandablemethods.cxx
expandablemethods.py
expressionalwayszero.cxx
external.cxx loplugin:externvar is covered by loplugin:external 2020-07-01 19:50:42 +02:00
externandnotdefined.cxx
faileddyncast.cxx
fakebool.cxx
finalclasses.cxx Get rid of some unnecessary llvm::StringRef -> std::string conversions 2020-02-13 11:24:43 +01:00
finalclasses.py Don't rely on Python's treatment of unrecognized escape sequences 2020-07-13 22:23:44 +02:00
finalprotected.cxx
flatten.cxx compilerplugins: fix building against baseline clang (5.0.2) 2020-04-20 10:12:45 +02:00
fragiledestructor.cxx
functionaddress.hxx
getimplementationname.cxx
getstr.cxx
implicitboolconversion.cxx
includeform.cxx
indentation.cxx
inlinefields.cxx
inlinefields.py
inlinesimplememberfunctions.cxx
inlinevisible.cxx
intvsfloat.cxx
literaltoboolconversion.cxx
logexceptionnicely.cxx Adapt compilerplugins to Clang trunk change 2020-03-02 07:51:34 +01:00
loopvartoosmall.cxx
makeshared.cxx improve loplugin:makeshared 2020-05-01 08:26:24 +02:00
mapindex.cxx
memoryvar.cxx
mergeclasses.cxx Get rid of some unnecessary llvm::StringRef -> std::string conversions 2020-02-13 11:24:43 +01:00
mergeclasses.py
mergeclasses.results weld LimitBox Item Window 2020-02-17 21:34:53 +01:00
methodcycles.cxx
methodcycles.partition.results
methodcycles.py
methodcycles.results
namespaceindentation.cxx Missing include (std::isspace) 2020-02-03 23:39:12 +01:00
nestedunnamed.cxx
noexceptmove.cxx replace usage of whitelist with allowlist 2020-07-10 01:36:07 +02:00
nullptr.cxx
oncevar.cxx
oslendian.cxx
overrideparam.cxx
overridevirtual.cxx
pahole-all-classes.py Don't rely on Python's treatment of unrecognized escape sequences 2020-07-13 22:23:44 +02:00
passparamsbyref.cxx
passstuffbyref.cxx
plugin.cxx add boost::intrusive_ptr to list of smart points in plugins 2020-06-05 14:53:33 +02:00
plugin.hxx Fix loplugin:simplifypointertobool for libstdc++ std::shared_ptr 2020-05-26 22:33:02 +02:00
pluginhandler.cxx significantly reduce build time of sharedvisitor.cxx 2020-02-03 11:26:43 +01:00
pluginhandler.hxx
pointerbool.cxx
precompiled_clang.hxx
privatebase.cxx
ptrvector.cxx
rangedforcopy.cxx
readability-redundant-pp.cxx
redundantcast.cxx
redundantfcast.cxx Adapt to "[ADT] Make StringRef's std::string conversion operator explicit" 2020-01-29 14:14:04 +01:00
redundantinline.cxx
redundantpointerops.cxx new loplugin:simplifypointertobool 2020-05-10 12:02:44 +02:00
redundantstatic.cxx Improved loplugin:staticanonymous -> redundantstatic 2020-07-02 23:27:05 +02:00
refcounting.cxx convert excel filter in calc from shared_ptr to rtl::Reference 2020-04-25 13:22:33 +02:00
referencecasting.cxx Revert "tdf#125609 toolkit: don't use XTabController::getControls" 2020-06-01 18:42:11 +02:00
rendercontext.cxx
reservedid.cxx
returnconstant.cxx aImmediateMacro is unused 2020-02-13 08:14:08 +01:00
returnconstval.cxx
salcall.cxx
sallogareas.cxx Adapt to "[ADT] Make StringRef's std::string conversion operator explicit" 2020-01-29 14:14:04 +01:00
salunicodeliteral.cxx
selfinit.cxx
sequenceloop.cxx Revert "loplugin:sequenceloop improve rvalue detection" 2020-02-23 11:10:18 +01:00
sequentialassign.cxx Drop Macromedia Flash export filter 2020-04-23 16:16:12 +02:00
sfxpoolitem.cxx Adapt compilerplugins to Clang trunk change 2020-03-02 07:51:34 +01:00
shouldreturnbool.cxx
simplifybool.cxx loplugin:simplifybool extend to expression like !(a < b || c > d) 2020-05-30 10:49:51 +02:00
simplifyconstruct.cxx
simplifydynamiccast.cxx
simplifypointertobool.cxx Fix typos 2020-06-14 10:04:41 +02:00
singlevalfields.could-be-bool.results loplugin:singlevalfields 2020-04-03 09:02:21 +02:00
singlevalfields.cxx Adapt to changed clang::ASTContext::getParents behavior on Clang 11 trunk 2020-05-25 20:40:25 +02:00
singlevalfields.py
singlevalfields.results loplugin:singlevalfields 2020-04-03 09:02:21 +02:00
staticaccess.cxx
staticconstfield.cxx Adapt to "[ADT] Make StringRef's std::string conversion operator explicit" 2020-01-29 14:14:04 +01:00
staticmethods.cxx show Skia UI controls only on Windows for now (tdf#133166) 2020-05-23 14:04:13 +02:00
staticvar.cxx replace usage of whitelist with allowlist 2020-07-10 01:36:07 +02:00
stdfunction.cxx make a simple compiler plugin usable in sharedvisitor 2020-01-29 15:21:35 +01:00
stringadd.cxx replace usage of whitelist with allowlist 2020-07-10 01:36:07 +02:00
stringbuffer.cxx
stringconcatauto.cxx Adapt to "[ADT] Make StringRef's std::string conversion operator explicit" 2020-01-29 14:14:04 +01:00
stringconcatliterals.cxx Allow making SAL_LOG based output fatal 2020-07-07 14:15:04 +02:00
stringconstant.cxx
stringloop.cxx
stringstatic.cxx
subtlezeroinit.cxx
typedefparam.cxx
unicodetochar.cxx
unnecessarycatchthrow.cxx
unnecessaryoverride.cxx Silence loplugin:unnecessaryoverride in WinSalInstance::GetBackendCapabilities 2020-02-03 23:45:46 +01:00
unnecessaryparen.cxx Adapt loplugin:unnecessaryparen to C++20 CXXRewrittenBinaryOperator 2020-04-11 17:44:54 +02:00
unnecessaryvirtual-dead.results loplugin:unnecessaryvirtual 2020-05-15 22:00:52 +02:00
unnecessaryvirtual.cxx
unnecessaryvirtual.py
unnecessaryvirtual.results loplugin:unnecessaryvirtual 2020-05-15 22:00:52 +02:00
unoany.cxx
unoquery.cxx
unreffun.cxx
unsignedcompare.cxx Fix typo 2020-01-28 20:11:45 +01:00
unusedenumconstants.cxx
unusedenumconstants.py loplugin:unusedenumconstants 2020-07-03 14:51:48 +02:00
unusedenumconstants.readonly.results loplugin:unusedenumconstants 2020-07-03 14:51:48 +02:00
unusedenumconstants.untouched.results loplugin:unusedenumconstants 2020-07-03 14:51:48 +02:00
unusedenumconstants.writeonly.results loplugin:unusedenumconstants 2020-07-03 14:51:48 +02:00
unusedfields.cxx Adapt to changed clang::ASTContext::getParents behavior on Clang 11 trunk 2020-05-25 20:40:25 +02:00
unusedfields.only-used-in-constructor.results loplugin:unusedfields 2020-06-29 12:23:50 +02:00
unusedfields.py
unusedfields.readonly.results loplugin:unusedfields 2020-06-29 12:23:50 +02:00
unusedfields.untouched.results loplugin:unusedfields 2020-06-29 12:23:50 +02:00
unusedfields.writeonly.results loplugin:unusedfields 2020-06-29 12:23:50 +02:00
unusedfieldsremove.cxx
unusedindex.cxx
unusedmember.cxx significantly reduce build time of sharedvisitor.cxx 2020-02-03 11:26:43 +01:00
unusedmethods.cxx
unusedmethods.py
unusedmethods.results loplugin:unusedmethods 2020-06-29 12:04:22 +02:00
unusedmethods.unused-returns.results Drop Macromedia Flash export filter 2020-04-23 16:16:12 +02:00
unusedmethodsremove.cxx
unusedvariablecheck.cxx
unusedvariablecheck.hxx
unusedvariablemore.cxx Adapt to changed clang::ASTContext::getParents behavior on Clang 11 trunk 2020-05-25 20:40:25 +02:00
unusedvariableplus.cxx replace usage of whitelist with allowlist 2020-07-10 01:36:07 +02:00
useuniqueptr.cxx replace usage of whitelist with allowlist 2020-07-10 01:36:07 +02:00
vclwidgets.cxx replace usage of whitelist with allowlist 2020-07-10 01:36:07 +02:00
virtualdead.cxx
virtualdead.py loplugin:virtualdead 2020-04-02 21:23:23 +02:00
virtualdead.results loplugin:virtualdead 2020-06-25 19:18:27 +02:00
virtualdead.unusedparams.results loplugin:virtualdead 2020-06-25 19:18:27 +02:00
virtualdown.cxx
virtualdown.py
virtualdown.results
weakbase.cxx
weakobject.cxx replace usage of whitelist with allowlist 2020-07-10 01:36:07 +02:00
writeonlyvars.cxx Adapt to changed clang::ASTContext::getParents behavior on Clang 11 trunk 2020-05-25 20:40:25 +02:00
xmlimport.cxx new loplugin:xmlimport 2020-02-26 07:06:32 +01:00